CMS Development

mativo
Member

missing canonical

SOLVE

Hello,

 

I would like to know how I can add rel=canonical to every listing blog, news and other that I would have please ?

 

I want the URL https://www.domain.com/blog to have rel=canonical https://www.domain.com/blog. And https://www.domain.com/blog/page/2 to have rel=canonical https://www.domain.com/blog/page/2 and so on.

Same for the news, the tag, etc.

 

I've look through your community and the solution that I found about the SEO & Crawlers won't work.

 

Thank you for your help.

0 Upvotes
1 Accepted solution
Jnix284
Solution
Hall of Famer

missing canonical

SOLVE

Hi @mativo yes, WordPress is configured directly.

 

Are you getting duplicate without relative canonical errors?

 

With the HubSpot setting each page is treated separately for indexing, canonical is technically not needed since you're asking Google to crawl each page when you create self-referencing canonicals (unnecessary).

 

The alternative is to determine that all of the paginated content is simliar and you want all of the focus to be on the first page (giving it more weight in SERPs), which would tag all of the paginated pages as having the first page as canonical and not wasting the time indexing those pages.

 

A lot of changes have happened since canonical was first established and in the case of blog listing paginated pages, it really won't create a lot of benefit to include self-referencing canonical URLs.

 

While this is currently not an option, you're always welcome to share your idea with the HubSpot Product Team for consideration.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

View solution in original post

0 Upvotes
6 Replies 6
mativo
Member

missing canonical

SOLVE

Hello,

 

In other CMS such as WordPress there isn't missing canonical as for example "https://www.domain.com/blog/page/2" have "rel=canonical https://www.domain.com/blog/page/2". Whereas in Hubspot this is missing, same for a tag and the pagination. But with youre explanation I suppose it's part of the core of Hubspot CMS and can't be changed.

Jnix284
Solution
Hall of Famer

missing canonical

SOLVE

Hi @mativo yes, WordPress is configured directly.

 

Are you getting duplicate without relative canonical errors?

 

With the HubSpot setting each page is treated separately for indexing, canonical is technically not needed since you're asking Google to crawl each page when you create self-referencing canonicals (unnecessary).

 

The alternative is to determine that all of the paginated content is simliar and you want all of the focus to be on the first page (giving it more weight in SERPs), which would tag all of the paginated pages as having the first page as canonical and not wasting the time indexing those pages.

 

A lot of changes have happened since canonical was first established and in the case of blog listing paginated pages, it really won't create a lot of benefit to include self-referencing canonical URLs.

 

While this is currently not an option, you're always welcome to share your idea with the HubSpot Product Team for consideration.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
tccseo
Participant

missing canonical

SOLVE

Hello,

 

Understand that the self-referencing canonical might not be necessary for pagination pages, however, I noticed that my blog listing pages (except 1st page) are not being indexed on Google (the pagination links that can be crawled).

 

Also, there's no option for me to individually make the changes for blog listing pages.

 

0 Upvotes
Jnix284
Hall of Famer

missing canonical

SOLVE

hi @tccseo can you check these settings and share a screenshot please?

 

Settings > Website > Pages > SEO & Crawlers:

Jnix284_0-1709034038274.png

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
mativo
Member

missing canonical

SOLVE

Okay

Jnix284
Hall of Famer

missing canonical

SOLVE

@mativo the Canonical URLs are controlled globally in your HubSpot Settings > Website > Pages > SEO & Crawlers:

Jnix284_0-1707781632423.png

 

 

I'm a little confused about why you need them given the examples provided?

 

Typically canonical is used when you have duplicate content and you want search to know the original - by making the canonical the same as the URL for each of the paginated pages, it's not really doing anything.

 

You could change the blog listing pages to set each page to the first in the series, which would remove any of the paginated pages by making them appear as duplicates. There isn't a way to add self-referencing canonical URLs for listing pages though.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes