Hreflang implementation via sitemap - don’t need canonical tags?
-
Hi,
Quick easy question here I hope!
An international site has hreflang and canonical tags in page head sections and also hreflang in the sitemap so I can see one version needs removing. The head section versions are relative URLs and need updating so think we will keep the sitemap hreflangs instead.
If the sitemap implementation is going to be used (sitemap auto-updates when changes are made to pages so seems easier to do this way) am I right in thinking No canonical tags are needed at all (and can safely be removed from head section too?). Pretty sure links included in sitemap are assumed to be canonicals, or any issues with this approach? Will be using x-default for the default language version of homepage too.
-
A search engine can discover the pages not only through the sitemap. External links can have different formats and the webmaster doesn't control them. That's why the canonicals are always recommended.
-
Is that the case even if they’re relative URLs that have been set up as the canonical links? This is why I was going to remove them as the hreflangs are all in the sitemap. Is it just the hreflangs that have to go in a single location and canonical tags could be left in head?
thanks!
-
No, you shouldn't remove the canonicals. They are useful to avoid impacting the SEO due to duplicate contents (multiple URLs resolving to the same content).
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
-
Correct Hreflang & Canonical Tags for Multi-Regional Website English Language Only having URL Parameters
Dear friends, We have a multi-regional website in English language only having the country selector on the top of each page and it adds countrycode parameters on each url. Website is built in Magento 1.8 and having 1 store with multiple store views. There is no default store set in Magento as I discussed with developer. Content is same for all the countries and only currency is changed. In navigation there are urls without url parameters but when we change store from any page it add parameters in the url for same page hence there are total 7 URLs. 6 URLs for each page (with country parameters) and 1 master url (without parameters) and making content duplicity. We have implemented hreflang tags on each page with url parameters but for canonical we have implemented master page url as per navigation without url parameters Example on this page. I think this is correct for master page but we should use URL parameters in canonical tags for each counry url too and there should be only 1 canonical tag on each country page url. Currently all the country urls are having master page canoncial tag as per the example. Please correct me if I am wrong and **in this case what has to be done for master page? **as google is indexing the pages without parameters too. We are also using GEOIP redirection for each store with country IP detection and for rest of the countries which are not listed on the website we are redirecting to USA store. Earlier it was 301 but we changed it to 302. Hreflang tags are showing errors in SEMRush due to redirection but in GWT it's OK for some pages it's showing no return tags only. Should I use **x-default tags for hreflang and country selector only on home page like this or should I remove the redirection? **However some of the website like this using redirection but header check tool doesn't show the redirection for this and for our website it shows 302 redirection. Sorry for the long post but looking for your support, please.
International SEO | | spjain810 -
Hreflang for bilingual website in the same region/location
Hi everyone, got a quick question concerning the hreflang tag. I have a website with 2 different language versions targeting to the same region(Reason: The area is bilingual however not everyone speaks the other language fluently) Question:
International SEO | | ennovators
Can I use hreflang in that case like: Many thanks in advance0 -
Multilingual Sitemap with some non-matching URLs
The website has two languages, English (.com/en-int/) and French (.com/fr-fr/). Some pages only exist in French, and some only in English, but there are many that are a 1-to-1 match. So, my questions is, in the multilingual sitemap, should I only include the URLs that are alternates, and then create a 2nd sitemap for all non-matching URLs? Or should I have 3 sitemaps: 1) Multilingual sitemap for all matching URLs (https://support.google.com/webmasters/answer/26208650 , 2) English sitemap for only URLs not included in multilingual sitemap, 3) French sitemap for only URLs not included in multilingual sitemap. And then create a sitemap index file to link to all 3 sitemaps.
International SEO | | Alex.Weintraub0 -
Help with hreflang configuration
We currently have different country versions of our site with a hreflang configuration; we have a spanish site targeted for Spain and then different subdirectories for every latin american country we're targeting to. Other than minimal differences, at the moment they are similar until we can handle providing unique content for each country. Our goal, then, would be to show the right one for every Google version, but also to avoid penalties. Our configuration is like this: ... Do you reckon this would be the right approach? Moz is currently telling us that there's duplicate content between the different country subdirectories, and to an extent there is, does that correlate with Google penalizing us for it? Also I've seen examples of self-referential alternates (such as including the in the Mexican version), or to put the canonical referencing the primary http://www.example.com/, will any of this help to our goals? Thanks a lot!
International SEO | | doctorSIM0 -
Need advice - International SEO strategy
Hello Moz ! I've been working for some months on a very interesting SEO project. I even opened some discussions on it (Multi Regional website - Folder strategy, Multi Company websites) with amazing feedbacks from the community. INITIAL PROJECT Set up an international website with different subsidiaries name, 1 person to manage the whole web, different locations / regions / languages and same products. INITIAL IDEAS For the beginning of the project we opened a main website in .com with subfolders for the other subsidiaries .com/es ... However our business is mainly in English so we decided to focus harder (closing the .com/uk, using a unic com/blog, opening more pages etc.) on the main domain in .com CURRENT ISSUE How to rank locally our services with: Main domain in .com Last Google updates against link building Most of customers searching in English in different countries Company working in more than 80 countries, through 13 subsidiaries **IDEA ** I was thinking about using our blog to focus 3 months on a thematic around one service (blog post with link to the services article on our website, guest blogging with link to a blog post, discussions on Linkedin around the thematics, etc.) QUESTION What could be the best strategy to rank locally our products in this case ? Hope you can share your best advise. I guess I'm not the unique one to face this issue. So it'll be good to make a good strategy for all our community 🙂 Tks a lot ! Florian
International SEO | | AymanH0 -
International websites : hreflang
Hi, i'm looking for good examples with 'href lang' tag (rel="alternate" hreflang="x") Have you examples of websites with this tag? Thanks D.
International SEO | | android_lyon0 -
Is having duplicated content on different domains a problem when using alternate tag, but no canonical?
We will be launching a couple of new language versions. I understand that ccTLD is mostly considered as best option, however I thought that to start with it might be better to launch the new language version first on a subdirectory of our established domain with strong backlink profile as it may rank much better until I can attract some strong links to new ccTLD. I would wait for the pages of new language versions to be indexed on the main domain and then after a month launch the same content paralell on the ccTLD setting up an alternate tag in the main domain pointing to the ccTLD. I would not setup any canonical tag. As I understand google would rank whatever of the 2 versions ranks higher. Should not cause duplicated content issues right?
International SEO | | lcourse
Any thoughts? EDIT:
For clarification. The language we are launching are mostly spoken in several countries. E.g. for Portuguese I would add in main domain an altnernate tag for Brazilian visitors to Brazilian ccTLD, but no alternate tag for Portuguese visitors. For Corean I would add in main domain an alternate tag for visitors in south corea, but not one for visitors in north corea.0 -
UK based people Need your help
I'm aware that this is not SEO related, but bare with me: Launching a new business venture and need some advise. the site will be located in the UK (for legal reasons) and since I have no experience with UK webhosts. I kinda need your help on selecting a good webhost. Money is not importants but what is: - excellent up times unlimited bandwidth So if you could share your experiences it would be much appreciated. thx in advance 🙂
International SEO | | ReneReinholdt0