Mobile app version of vmapp.org
Login or Join
Alves908

: On which page(s) to add canonical? I have two pages with same content and same meta title and meta description. They also have very simular URL: http://www.mysite.com/new-york http://www.mysite.com/new_york

@Alves908

Posted in: #CanonicalUrl #GoogleSearchConsole #Seo

I have two pages with same content and same meta title and meta description. They also have very simular URL:

www.mysite.com/new-york http://www.mysite.com/new_york


I need first link to be "official".

To avoid having duplicated pages, I want to add canonical meta tag in header but on which page? Does it have to be on both of them or only on second? On first?

Can you give me some advice please?

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

5 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

You need to add it to the /new_york page:

<link rel="canonical" href="http://example.com/new-york" />


You may add it to the canonical page /new-york itself, too (in addition, that is!). From the RFC 6596: "The Canonical Link Relation":


The target (canonical) IRI MAY:
[…]
o Be self-referential (context IRI identical to target IRI).




If you don’t need the duplicate page/URL: instead of using rel-canonical, it would be better to 301-redirect /new_york to /new-york.

10% popularity Vote Up Vote Down


 

@Lee4591628

<link rel="canonical" href="http://www.mysite.com/new-york> Copy this link into the <head> section of the page mysite.com/new_york . Adding this link and attribute let you to suggest to Google: "Of all the two pages with identical content, this page is the most useful. Please prioritize it in search results."

10% popularity Vote Up Vote Down


 

@Nimeshi995

You should normally always opt to use dash vs underscores in URL's due to the fact that Google treats dash as a true word separator, through technically Google can make sense of both.

Matt Cutts explains the difference between how Google interprets underscores and dashes in a URL.

10% popularity Vote Up Vote Down


 

@Marchetta884

From Google Support…

Add a rel="canonical" link to the section of the NON-canonical version of each HTML page.

Find that, and more here…
support.google.com/webmasters/answer/139394?hl=en

10% popularity Vote Up Vote Down


 

@Hamm4606531

Just on one of the pages. I would add to the second one as using a dash (-) seems "cleaner" perhaps.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme