Canonical URL Tag Usage
-
Hi there,
I have a .co.uk website and a .ie website, which have the exact same content on both, should I put a canonical tag on both websites, on every page?
Kind Regards
-
I will do Hannah, thanks again.
-
Hey,
Re the rel-canonical, Bing say they don't like that implementation, but Google are fine with it. My advice? Yep - do it
Thanks
Hannah
PS If you want to ask a new question it's best to start a new thread - more likely to get seen & answered
-
Hi Hannah,
Just one more question please.
If I had just one website, would you always advice in using a canonical tag for every webpage on that site?
So, http://www.example.com/product-page/ would have canonical tag
rel="canonical" href="http://www.example.com/product-page/" />
-
Thanks Hannah for all your help, I will let you know how it goes.
Kind Regards
-
Yep - you need to place the tags on every page which is duplicated across both sites
-
AH! at the moment I only have one hreflang on each domain
.co.uk website has:
rel="alternate" hreflang="en-IE" href="http://www.mywebsite.ie" />
and .ie website has:
rel="alternate" hreflang="en-GB" href="http://www.mywebsite.co.uk" />
Was I doing it wrong to start with?
-
Like the rel="alternate" tag you need to put the canonical tag on every page of your .ie site pointing to the relevant page on your .co.uk site. You should also put the canonical tag on the .co.uk site pointing to itself - e.g.:
So on http://yourdomain.co.uk/page-whatever you'd need:
http://yourdomain.ie/page-whatever; />
http://yourdomain.ie/page-whatever - you'd need:
-
Hi Hannah,
Thanks for your feedback.
This is very interesting indeed Hannah, so this means that the .ie version will fall away in SERPs?
Technical question: Do I put the canonical tag on the .ie website pointing to the .co.uk website?
rel="canonical" href="http://www.mywebsite.co.uk"/>
Do I put a canonical tag on the .co.uk website?
Appreciate your help.
-
Hi Gary,
I think on this occasion you ought to use both rel="alternate" and the canonical tag.
One of my colleagues had a conversation with a Googler which supports and explains this further:
I hope this helps,
Hannah
-
Yes, everything is correct in Google webmaster tools. I have a feeling even though this is correct in webmaster tools that Google is counting as duplicate.
-
What are Google Webmaster Tools telling you? Have you used it to tell Google your site is geotargeted?
-
Hi Highland,
Thanks for your reply.
Do you know what is happening with this then? as it has no PR anymore plus it's not in the index
-
In this case, no. Matt Cutts has stated that country TLDs that are duplicate are not generally seen as duplicate by Google.
-
Hi Stefan,
Yes, in Google webmaster tools that countries are set, however one of the keywords I was ranking well for has disappeared from the .co.uk results, when I paste the first paragraph of the .co.uk page in question into .co.uk, its the .ie website that appears, I have also put this on the .co.uk & .ie webpages in question:
rel="alternate" hreflang="en-IE" href="mysite.ie" />
<link < span="">rel="alternate" hreflang="en-GB" href="mysite.co.uk" /></link <>
I put the above code about 10 days ago, but still not sorted the problem, I feel that I need to tell Google that the .co.uk website is the original, what do you think?
-
Hello Gary,
You can use the
hreflang="'en-IE" href="www.your-ie.site"> element
For more information see: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077
You can also in Google webmaster tools set the country a specific domain is targeting.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
This one is complicated... canonicals, href lang tags and no index
Bear with me, this is complicated (I REALLY hope one of you comes along and says, no it isn't!) Scenario A client has multiple english pages, as they have a unique product offering in AUS, US, UK, NZ and also have a global site in english. Obviously there is a lot of duplicate content and they have the relevant href lang tags set-up to help Google untangle what should be ranked where. They also have rel-canonical on each page. I've set-up search console for each of the folder structures, i.e. en-us, en-gb, en-au and so on. They have an optimised page for one of their primary keywords, which ranks nowhere for this exact keyword, but this page DOES rank for 40 similar keywords. For the exact keyword, they rank 52nd, and frustratingly, it's the homepage that ranks. We know the correct page is ranking and is indexed because search console tells us so and we see the exact page appear in SERPs for the other 40 keywords. When I look at the en-us site in Search Console, it tells me that the home page is not being indexed, because a rel canonical tag is prioritising an alternative page (probably the global site) - however, the en-us homepage is showing up in rankings for a lot of their important keywords. The site has been live for 6 months and the optimised page for about 3 months. Questions 1. If search console is saying the homepage is not ranking, how is it showing up in SERPs?
Intermediate & Advanced SEO | | Algorhythm_jT
2. Why is the homepage ranking for this important keyword, when there is virtually no mention of the keyword versus the page that is almost perfect according to Moz's on-page grader?
3. Do you need href lang tags AND rel canonical on a page?
4. How long before a new page that is optimised for a keyword take to replace (and hopefully surpass) the homepage?
5. If the US is the most important market, should we guide Google to that fact using rel-canonical? Really appreciate your feedback, hivemind. Thanks0 -
URL Parameters
Hi Moz Community, I'm working on a website that has URL parameters. After crawling the site, I've implemented canonical tags to all these URLs to prevent them from getting indexed by Google. However, today I've found out that Google has indexed plenty of URL parameters.. 1-Some of these URLs has canonical tags yet they are still indexed and live. 2- Some can't be discovered through site crawling and they are result in 5xx server error. Is there anything else that I can do (other than adding canonical tags) + how can I discover URL parameters indexed but not visible through site crawling? Thanks in advance!
Intermediate & Advanced SEO | | bbop330 -
If I use links intag instead of "ahref" tag can Google read links inside div tag?
Hi All, Need a suggestion on it. For buttons, I am using links in tag instead of "ahref". Do you know that can Google read links inside "div" tag? Does it pass rank juice? It will be great if you can provide any reference if possible.
Intermediate & Advanced SEO | | pujan.bikroy0 -
Sub Domain Usage
I see that the gap uses gap.com, oldnavy.gap.com and bananarepublic.gap.com. Wouldn't a better approach for SEO to have oldnavy.com, bananarepublic.com and gap.com all separate? Is there any benefit to using the approach of store1.parentcompany.com, store2.parentcompany.com etc? What are the pros and cons to each?
Intermediate & Advanced SEO | | kcb81780 -
WordPress Duplicate URLs?
On my site, there are two different category bases leading to the exact same page. My developer claims that this is a common — and natural — occurrence when using WordPress, and that there's not a duplicate content issue to worry about. Is this true? Here's an example of the correct url. and... Here's an example of the same exact content, but using a different url. Notice that one is coming from /topics and the other is coming from /authors base. My understanding is that this is bad. Am I wrong?
Intermediate & Advanced SEO | | JasonMOZ1 -
URL Formatting - Magento
Hi, We are working with a client on Mangento who URLs are formatting Google friendly eg; productname.html - as seen in site search in Google) but when you click the link to the site it is adding on #.VEWKQxbc754 (or similar) The site is also having some page indexing problems as well Thoughts? specific settings/Add on in magento?
Intermediate & Advanced SEO | | Pure-SEO0 -
Blog tags are creating excessive duplicate content...should we use rel canonicals or 301 redirects?
We are having an issue with our cilent's blog creating excessive duplicate content via blog tags. The duplicate webpages from tags offer absolutely no value (we can't even see the tag). Should we just 301 redirect the tagged page or use a rel canonical?
Intermediate & Advanced SEO | | VanguardCommunications0 -
Canonical Problems
Hi Guys, There is so much info out there about canonical issues and 301 redirects I'm not sure what to do about my problem. Google webmaster says I have over 2000 duplicate page titles. Google is showing most of my pages in duplicate or triplicate url format. Example: /store/LOVE_OIL_CARIBBEAN_ROSE//store/LOVE_OIL_CARIBBEAN_ROSE/store/love_oil_caribbean_rose/Im using x-cart pro as my cart.When I look at the source code I see each one having a rel=canonical tag with the exact urls you see above. Can someone give me an example of a redirect that I can put in my .htaccess file that would work site wide?I obviously cant go through and 301 this on a page by page basis. It would take a year.Thank You Tim
Intermediate & Advanced SEO | | fasctimseo0