Best way to indicate multiple Lang/Locales for a site in the sitemap
-
So here is a question that may be obvious but wondering if there is some nuance here that I may be missing.
Question: Consider an ecommerce site that has multiple sites around the world but are all variations of the same thing just in different languages. Now lets say some of these exist on just a normal .com page while others exist on different ccTLD's. When you build out the XML Sitemap for these sites, especially the ones on the other ccTLD's, we want to ensure that using
<loc>http://www.example.co.uk/en_GB/"</loc>
<xhtml:link<br>rel="alternate"
hreflang="en-AU"
href="http://www.example.com.AU/en_AU/"
/>
<xhtml:link<br>rel="alternate"
hreflang="en-NZ"
href="http://www.example.co.NZ/en_NZ/"
/>Would be the correct way of doing this. I know I have to change this for each different ccTLD but it just looks weird when you start putting about 10-15 different language locale variations as alternate links. I guess I am just looking for a bit of re-affirmation I am doing this right.</xhtml:link<br></xhtml:link<br>
Thanks!
-
Yes, you are doing the right thing. You may also want to look at including Meta Tags in the as well. ()
-
Maybe the best solution is using a tool like this one by MediaFlow: http://www.themediaflow.com/resources/tools/href-lang-tool/.
You feed the tool with an .csv file and it returns you with a sitemaps.xml with all the hreflang annotations included.
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
-
Why is my financial services site being flagged as gambling
Watchguard and Websense/Forecepoint are flagging my financial services site gambling...how can I prevent that from happening. https://fwag.com/
Web Design | | AdsposureDev0 -
Local Versus National SEO - Considerations
I have a customer who is currently a local business but with aspirations of franchising and becoming a national concern, historically I have had quite a lot of success in the Local space, but this will be the first national account so I am looking for any advice on SEO best practice for national businesses. Particularly I am looking at where the business will have a common set of products / services but will have multiple trading addresses / service areas. Any advice would be much appreciated. TIA
Web Design | | Excal1 -
Address On Every page for e-Commerce site?
For a primarily e-commerce site, should you have your address on every page (in the footer, for example)? Or is it enough to just have it on the contact page? Thanks, Ruben
Web Design | | KempRugeLawGroup0 -
Site as one page - SEO implications
We may be inheriting a site and will be asked to do SEO for it. We will have control over the development of the site, so this structure is what it is. My question is - how significant of an impact do you think this is going to have and can you think of any workarounds that may help? Basically, the user experience of the site will feel similar to multiple pages. However, this site will, in essence be one page and pull various content through javascript from different locations. I have not seen the site yet (and believe it is still in development), but this is how it has been explained to me. Any thoughts? My first thought was to add a blog to add page depth to the site and expand the content. Any other thoughts are welcome and appreciated. Thanks. (I know this is limited information, I'm sorry. It's just about all I have to work with right now, and I was a little concerned and was hoping for a second opinion)
Web Design | | AdamWormann0 -
Best Place for Back Linking
Does anyone have a good list or know where I can find one to show me the best sites to create some organic back links to mine, preferably without paying for them? Thanks to those who help, Craig Fenton IT
Web Design | | craigyboy0 -
XML SiteMap - Right Away or Delay?
So, I have a new client whose web designer declined to create an XML site map. They said that they would rather wait a year and let Google create one. I am wondering what the opinion of other SEOMoz members is about this--do you create an XML right away or think there is an advantage in delaying? Personally, I always prefer to have one right away--What is the best practice in your experience and why?
Web Design | | TheARKlady0 -
Redesign of an ecommerce site
I was just wondering how we should deal with filters and pagination with our ecommerce website. We can do nofollow or noindex, follow or canonical for both filters and pagination. Which one we should choose and why? By the way we are trying to create more sub categories to avoid too many pages but we have 1,000s products and we still end up with a quite high amount of pages. I've read a few conflicting seomoz QA about this issue. Many Thanks
Web Design | | Jvalops0 -
Ways to decrease the bounce rate
I am under the impression that bounce rate is a good indicator to Google as to whether the site is relevant to the user. I think that it probably has quite a lot of impact on ranking. So I thought I would start a discussion as to good ways to decrease bounce rate?
Web Design | | esendex0