Sitemap for multilanguage website
-
Hello sorry silly question but prefer to be sure
I have an international website with different subfolders
- .com/es
- .com
- .com/fr
- etc
All of them have independant sitemap, but i'd like to add in .com/robot.txt a sitemap with language.
Do you know how I can do this ?
Tks a lot !
-
Tks u !
-
Hi there,
Ah, I see what you mean.
You can certainly add these sitemap links to the .com's robots.txt file. I don't believe there is syntax to specify language for this though - if you look at large multinational sites like Adobe.com, you can see their multitude of sitemaps below their disallowed files: http://www.adobe.com/robots.txt
Microsoft's is similar: http://www.microsoft.com/robots.txt
I'd say you're safe enough to link like this - the sitemap will be accessed, plus if you have used hreflang tags and geo-targeted the subfolders in Webmaster Tools, Google will understand that it's looking at maps / content for a specific language.
Cheers,
Jane
-
Hello
Sorry did not explain properly
In a robot.txt we can add a link to the sitemap and specify the language of each sitemap. Was just wondering if someones knows the syntaxe to use.
-
Hi there,
Sorry, I'm a little lost - what is it that you're preparing to do ("add in .com/robot.txt a sitemap with language")? Would you be able to rephrase? I'm not quite sure what you mean by this.
Cheers,
Jane
-
No news ?
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
-
Multistore Sitemap
I use Magento 2 Multistore and have 2 stores set up with identical products, one for the EU and one for the US. The best practice is to allow Google to crawl both sites, but what about the sitemap? Should I only include one store? The reason I ask is that Google has recently started ignoring canonicalized URLs, so even though the second store is canonicalized, it could affect my rank. My rank did drop with the last update when this was rolled out, I stopped some canonicalized URLs from generating and my rank went back up (albeit not as high as before).
International SEO | | moon-boots0 -
Is this setup of Hreflang xml sitemap correct?
Hi, I'm trying to setup hreflang for 2 domains. One is purely a US site and the other domain has the language-country as subdomains. For example: http://www.websiteUSA.com (Targets English - USA) https://www.websiteINT.com/en-CA (Targets English - Canada) https://www.websiteINT.com/fr-CA (Targets French - Canada) https://www.websiteINT/es (Targets Spanish) ..and so on and so forth for about 12 of these international URLs. I created an XML sitemap that looks something like this: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>http://www.websiteUSA.com</loc></url></urlset> <url><loc>https://www.websiteINT.com/en-CA</loc></url> <url><loc>https://www.websiteINT.com/fr-CA</loc></url> Question 1: Is this correct? In my actual file, I have all the countries listed and self-referencing. Question 2: I'm hosting this file at https://www.websiteINT.com/hreflang.xml AND at http://www.websiteUSA.com/hreflang.xml. Is this correct? Question 3: Will this help the SERPs direct english speakers from the US to http://www.websiteUSA.com while show SERPs for say English Speakers in Canada to https://www.websiteINT.com/en-CA? Question 4: For some reason, when I put up the xml site, it only listed each URL once instead of the full XML file. Should I have uploaded a text file instead? It doesn't seem to render correctly. Thank you!
International SEO | | SylviaH0 -
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 -
Internationalise all or just part of website?
Hi We are a UK company looking to expand our sales into the US market. We will be setting up a US office. Our (.com) site has a number of main sections relating to different products and services - but only two of these sections will be selling products to the US. /service1 - UK only
International SEO | | AbsolutelyN
/products1 - UK and US - different product names/descriptions for different markets
/service3 - UK and US - not much difference for uk/us pages So the query is do we fully internationalise the site with sub folders /us & /gb and make all content on the site have a different language version. Or do we only give an alternate language version for the two areas that need it? Perhaps /products1/us & /products1/uk We also have top rankings and are concerned about changing the urls. Is one option to keep the existing urls as the 'default' language? The default perhaps being US as it is a .com domain. If not then how do you redirect a url that going forward splits into US or GB sub directories? Another option is to have the current .com become US only and create a .co.uk site. We are in a position to easily do this but research suggests subdirectories is the better way forwards due to aggregated link authority. Many thanks for any thoughts,
Tristan0 -
Multilingual website - Url problem (sitemap)
At this moment our website both uses the language in the url like "en" and localizes the url itself ("books" in english and "boeken" in dutch). Because of the history of making our website multilingual we have a system that takes the browser language for the localization if the url doesn't contain a language like "en". This means: www.test.com/books = browser language www.test.com/en/books = english language www.test.com/boeken = browser language www.test.com/nl/boeken = dutch language Now for the sitemap this makes it a little troublesome for me because which hreflang is used for which url? 1) The first thing I thought of was using x-default for all urls that get the language of the browser. <code><url><loc>http://www.test.com/books</loc></url></code> But as you can see we now got 2 times x-default. 2) Another solution I thought of was just use the localization of the url to determine the language like: <code><url><loc>http://www.test.com/books</loc></url></code> But now we got 2 of each language for the same page. 3) The last solution I thought of was removing links without a language in the url (except for the homepage, which will still have an x-default) like: <code><url><loc>http://www.test.comen/books</loc></url></code> But for this solution I need to put 301's at pages that are "deleted" and also need to change the system to 301 to the right page. Although the last point isn't really a problem I'm kind of worried that I will lose some of the "seo points" with a 301. (When we changed our domain in the past we had a bad experience with the 301 of our old domain) What do you think would be the best solution for SEO? Or do you have any other suggestions or solutions I haven't thought of.
International SEO | | Anycoin0 -
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 -
Website Target in Europe
Hi, I am planning a site to target in Europe and I expect to translate my site into ten different languages namely English, French, Spanish, Italian, German, Russian, Greek, Portuguese, Dutch and Swedish. I am doing some study of this case in targeting different countries for SEO, most of the advise are the following: a. Build 10 different websites and target different geographical location in Google Webmaster b. Get 10 different country specific domains for 10 different websites I would like to hear any suggestion if there is anything better than this ? I had all the materials and translation ready but building 10 different websites or getting 10 different domains are very time consuming and costly. I would be appreciated if any one had any advise for me to make the website more management friendly. Thank you. Tom
International SEO | | Stevejobs20110 -
.com or .ca for my Canadian website that is the question...
I have a US based company that is expanding to Canada, would it matter if I have a .com or .ca for my website?
International SEO | | BCA0