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
-
Is it worth maintaining multiple international websites
Hi I work for a British company which has two well established websites - a .co.Uk for the UK, and a .com for the US and rest of the world (in language directories). The Uk site is hosted in the Uk, the .com in US. The websites do reasonable well in Google on both sides of the Atlantic. The company is a small but quite well known brand. The company is now thinking of redirecting the .co.Uk to the .com as it would be cheaper to maintain. What would you advise? Thanks.
International SEO | | fdl4712_aol.com2 -
Good day team.. have problem with my website i lost all ranking and lost 10x times traffic in 1 day without reason...
Good day everybody. My website is www.evilrpm.com and ii have drop in rank and traffic in 1 day without reason... still fighting with that issue .. from that moment i starts to get the errors and in search console if i make testing pages .. after test they can show like warning or error page but in console its green.. i was check everything, and i think that problem in server.. because it happened when i write the truth about my experience with Shopify... this is extraordinary organization i feel like they from the starts was don't give me the way to grow... any idea what the problem? thanks for your support!
International SEO | | EvilTIGER0 -
URL structure of international hotel website
Hai all, Question about URL structure of international hotel website in Amsterdam: hotelcitadel.nl. Some information: - Target group are mainly english speaking guests from UK and US. Besides that guests from the Netherlands and some other countries. - Website in 6 languages. - No geo-targetting; just language targetting with hreflang annotations. Current situation: hotelcitadel.nl = dutch language version and hotelcitadel.nl/en = english language version We are thinking about changing this to: hotelcitadel.nl would become english version and hotelcitadel.nl/nl would become the dutch version. Reason: root domain hotelcitadel.nl has by far the most links,and making the root domain the english version could help the rankings in english speaking countries like UK and US. What do you think, would this be a wise idea? Regards, Maurice
International SEO | | mlehr0 -
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 Sites - Sitemaps, Robots & Geolocating in WMT
Hi Guys, I have a site that has now been launched in the US having originally just been UK. In order to accommodate this, the website has been set-up using directories for each country. Example: domain.com/en-gb domain.com/en-us As the site was originally set-up for UK, the sitemap, robots file & Webmaster Tools account were added to the main domain. Example: domain.com/sitemap.xml domain.com/robots.txt The question is does this now need changing to make it specific for each country. Example: The sitemap and robots.txt for the UK would move to: domain.com/en-gb/sitemap.xml domain.com/en-gb/robots.txt and the US would have its own separate sitemap and robots.txt. Example : domain.com/en-us/sitemap.xml domain.com/en-us/robots.txt Also in order to Geolocate this in WMT would this need to be done for each directory version instead of the main domain? Currently the WMT account for the UK site is verified at www.domain.com, would this need reverifying at domain.com/en-gb? Any help would be appreciated! Thanks!
International SEO | | CarlWint0 -
Do we need to update our sitemaps each time our content changes?
Dear SEO experts! We have created sites maps to get our international sub-domains indexed, however we're unsure if we have to update our sitemaps each time our content changes on our many landing pages which are translated to 17 different languages? Obviously the goal is to make it dynamic so it updates itself. I hope you can help us with some advice. Thanks a lot! Allan
International SEO | | Todoist0 -
Can I add more than one XML sitemap in my Robots.txt File?
I have 3 domains all hosted on the same Magento Enterprise Platform. Each domain targets a different county. .co.uk, .com.au, and .com. Can I add all three sitemaps in my robots.txt file? www.example.com/sitemap.xml www.example.com.au/sitemap.xml www.example.co.uk/sitemap.xml
International SEO | | hfranz0 -
Am I doing this right? Same website, content and similar domains.
I have 5 sites with the same exact content. I have a separate webmastertool for each one and I have targeted them to each country on WebMastertools? Iam I missing something or did I do it right.Thankswww.abc.com (USA)www.abc.com.ar (argentina)www.abc.com.mx (mexico)www.abc.com.co (colombia)
International SEO | | M_80