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.
-
The best way to go about this is to keep the URLs with the language in the structure. Redirect (301) the ones that don't have it to the ones that do.
However, it sounds like that causes a problem. If the above isn't a possibility, use a canonical from the non-language URL to the one with it. Then do your HREFLANG in sitemaps, and only use the URLs with the language tag in the sitemaps. You can also do the coding on the page, just make sure the HREFLANG tags are not on the non-language pages.
- Example URL: http://www.test.com/boeken would have a canonical tag that points to http://www.test.com/nl/boeken
- Only http://www.test.com/nl/boeken is listed in the sitemaps
- OR Only http://www.test.com/nl/boeken has HREFLANG tags. http://www.test.com/boeken would only have the canonical.
That should solve your problem.
-
From their support page (https://support.google.com/webmasters/answer/189077?hl=en) when you're combining region plus language you'll want to do this:
For example, you may have specific URLs for English speakers in Ireland (en-ie), Canada (en-ca), and Australia (en-au), but want all other English speakers to see your generic English (en) page, and everyone else to see the homepage. In this case you should specify the generic English-language (en) page for searchers in, say, the UK. You can annotate this cluster of pages using a Sitemap file or using HTML link tags like this:
That way you can even have a situation like nl-en or vice versa. I'd use 302s for redirecting based on conditional things like browser settings. Cheers!
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 there a Risk Around Creating a Website for Each Country in The World?
Is there a risk around creating a website for each country in the world with similar to identical content depending on the language? We need to serve prices and the local currencies and be compliant with regulations. We're planning to use rel=canonical and HREFLANG tags to help with consolidation and GEO-targeting.
International SEO | | ari_seo0 -
International SEO | URL Structure
I'm looking for advice/point of view for setting up international domains. I.e. sub-domains, ccTLD, etc. At the 10,000 ft. view - the client (international retail company) is trying to decide which type of URL structure to use in their new platform: Option 1: Root Domain ccTLD - www.brand.ca, www.brand.fr, etc. Option 2: Subdomains - fr.brand.com, ca.brand.com, au.brand.com Option 3: Subfolders - ]www.brand.com/ca/, ]www.brand.com/au/ Consider these scenarios/questions and use to help decide which URL structure makes sense: 1) I'm an Aussie in Australia and I do a Google search on Hank Myer Aron, which is a huge seller in the U.S. and also included at the Australia locale site. If we go with subfolders, am I likely to see the U.S. Aron page higher in my search results than the Australia Aron page? Or is the U.S. site not a factor in a search done outside the U.S.? If we use subfolders AND geo-detection, does this bump the ranking of the locale page? Do sites using ccTLDs always get ranked above those that don't? For example, if an Australian dealer selling Aron has URLs dealer.com.au/..., would their pages rank ahead of hankmyer.com/au/...? If we went the ccTLD route, would the Aron page at hankmyer.com.au take precedence over the U.S. page? (Again, assuming U.S. site is relevant in this scenario.) 2) I'm a Frenchman in France searching on Hank Myer Aron. If we use subfolders AND an alias URL that's translated to French (brand.com/fr/produits/sieges/sieges-aron), would we expect the page rank to be comparable to using the ccTLD and/or expect greater trust than just using subfolders without translated URLs? Do translated URLs have any mitigating affect on duplicate page content? Which URL strategy is best choice from a SEO standpont?
International SEO | | CrownPartners0 -
Interlinking 60 ccTLD country versions of website
We will be launching 60 new ccTLD country versions of an established core website.
International SEO | | lcourse
Quality, human translated content in 35 languages.
We have a CSS dropdown menu with the 60 country flags and country/language name as anchor text. Formatted as deeplinks to the corresponding pages in the 60 country versions, that we planned to add on each page. How would you recommend to implement the interlinking between these 60 ccTLD? My concerns are: won't we dillute the link value of our links in the main page content too much with links to 60ccTLD on each page? may we trigger a google penalty as the new ccTLD have no other links yet and each page will have the same anchor text and links from exactly the same 60 domains. would you place the country dropdown rather at the bottom of the page (e.g. footer) to avoid that google will not crawl all links in main content page. Any thoughts or suggestions are appreciated1 -
Google search cache points to and uses content from different url
We have two sites, 1 in new zealand: ecostore.co.nz and 1 in Australia: ecostoreaustralia.com.au Both sites have been assigned with the correct country in Webmaster tools Both site use the same urls structure and content for product and category pages Both sites run off the same server in the US but have unique ip adresses. When I go to google.com.au and search for: site:ecostoreaustralia.com.au I get results which google says are from the Australian domain yet on closer inspection it is actually drawing content from the NZ website. When I view a cached page the URL bar displays the AU domain name but on the page (in the top grey box) it says: _This is Google's cache of http://www.ecostore.co.nz/pages/our-highlights. _ Here is the link to this page: http://webcache.googleusercontent.com/search?q=cache:Zg_CYkqyjP4J:www.ecostoreaustralia.com.au/pages/our-highlights+&cd=7&hl=en&ct=clnk&gl=au In the last four weeks the ranking of the AU website has dropped significantly and the NZ site now ranks first in Google AU, where before the AU site was listed first. Any idea what is going wrong here?
International SEO | | ArchMedia0 -
Export sitemap or internal linking structure in a visual diagram?
Is there a FREE ONLINE tool that will Export a existing sitemap or internal linking structure in a visual diagram? I'm trying to help my clients see there existing sitemaps in a visual document and show how each page links to the next. Is there a FREE ONLINE tool that does this?
International SEO | | splashmedia0 -
Same website in different countries, best practices for SEO?
Hey Guys, I have read several similar questions regarding mine, but none seem to truly cover my question. Basically, we have a company named Junair. We created the website for the company here in Australia (http://www.junair.com.au). As can be seen throughout the page, it mentions that it caters for both Australia and NZ (NZ has its own phone number). It does ok in the rankings at the moment, but rankings will continue to rise in the future once more links are getting picked up. Now however, the Junair team in NZ purchased the NZ domain http://www.junair.co.nz and redirected it to the Australian page. No matter which page you visit on the NZ URL, the URL will never change, and neither will the page title. They have now contacted us and asked to perform SEO on the NZ domain so the NZ domain would show up in searches on Google NZ. At the moment, when searching for "Junair" on google.co.nz, the Australian domain is coming up. How could I change this so the NZ URL would show instead? And what would be the best practices to perform SEO on the NZ URL, should I just create links pointing to http://www.junair.co.nz ? Thank you, Roderic
International SEO | | Michael-Goode0 -
Intentional redirect for international visitors to a website
We are doing PPC for a new client, and using Clicktale to improve conversion rates. However, Clicktale won't work because the client does not want international visitors looking at their website (competitive reasons! - yeah don't get me started...). They have a redirect on for all international visitors which points to a "coming soon..." page Are there any SEO implications on traffic in their own country (they currently do rank for terms)? I'd like to go back with a strong case for them removing any international redirect. Thank You
International SEO | | CleverClicks0 -
International (greek) characters in the URL
For one of our sites we are considering restructuring the urls. This is about a Greek site and we are toying between the following options: a) English URLS e.g. www.domain.com/cars b) Greek URLs e.g. www.domain.com/αυτοκίνητα c) "Greeklish" URLs (Greek words spelled with latin characters) www.domain.com/aftokinita Normally we would imagine option b is the best since it would reinforce the main and most relevant keyword that is already present within the page content. We see many people search in google using greeklish (e.g. they are lazy to switch the keyboard locale all the time). Since we would also like to capture this part of the SE traffic but cannot obviously write in "greeklish" within our main page content maybe option c is a good compromise?
International SEO | | achatzakis0