Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Hreflang in header...should I do a Sitemap?
- 
					
					
					
					
 A client implemented hreflang tags in the site header. MOZ says you aren't supposed to do an hreflang Sitemap as well. My question is how should I do a Sitemap now (or should I do one at all)? 
- 
					
					
					
					
 Hi there, There are many ways to do it. In my opinion: - If the amount of pages is low, you can do it in just one sitemap.
- If the amount is really huge, do it in different sitemaps, stating in the name of each of them the language (e.g. sitemap-es-mx.xml) and create a sitemap_index.hml with all those.
 Remember that its best practice to have the sitemaps in the root folder: domain.com/sitemap Best luck. 
 GR.
- 
					
					
					
					
 Hi Gaston - Thanks for the response. My urls are set up like so: - mysite.com/us/en/page
- mysite.com/fr/fr/page
- mysite.com/ca/fr/page
- mysite.com/mx/es/page
- mysite.com/es/es/page
 And so on. Would you recommend doing a separate sitemap for each language/country? Thus: - mysite.com/us/en/sitemap.xml
- mysite.com/fr/fr/sitemap.xml
- mysite.com/ca/fr/sitemap.xml
- mysite.com/mx/es/sitemap.xml
- mysite.com/es/es/sitemap.xml
 Thanks! 
- 
					
					
					
					
 Hello there! Yes you should, better you must do a sitemap, but do not include the hreflang attribute. 
 Here: Google Search Console help you can see how a sitemap INCLUDING the hreflang looks like. Remove the portion:<xhtml:link <br="">rel="alternate" 
 hreflang="de"
 href="http://www.example.com/deutsch/"
 /></xhtml:link>Hope it helps. 
 Good Luck!
 GR.
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Spotify XML Sitemap
 All, Working on an SEO work up for a Spotify site. Looks like they are using a sitemap that links to additional pages. A problem, none of the links are actually linked within the sitemap. This feels like a strong error. https://lubricitylabs.com/sitemap.xml Thoughts? Intermediate & Advanced SEO | | dmaher0
- 
		
		
		
		
		
		Href lang in image or video XML sitemaps
 Does anyone know if it is possible/recommended/not recommended to use href lang in image or video XML sitemaps? This had not crossed my mind until recently, but a client asked me this question and I couldn't find any information on this topic. Intermediate & Advanced SEO | | ChrisKing0
- 
		
		
		
		
		
		URL structure change and xml sitemap
 At the end of April we changed the url structure of most of our pages and 301 redirected the old pages to the new ones. The xml sitemaps were also updated at that point to reflect the new url structure. Since then Google has not indexed the new urls from our xml sitemaps and I am unsure of why. We are at 4 weeks since the change, so I would have thought they would have indexed the pages by now. Any ideas on what I should check to make sure pages are indexed? Intermediate & Advanced SEO | | ang0
- 
		
		
		
		
		
		Hreflang and paginated page
 Hi, I can not seem to find good documentation about the use of hreflang and paginated page when using rel=next , rel=prev Intermediate & Advanced SEO | | TjeerdvZ
 Does any know where to find decent documentatio?, I could only find documentation about pagination and hreflang when using canonicals on the paginated page. I have doubts on what is the best option: The way tripadvisor does it:
 http://www.tripadvisor.nl/Hotels-g187139-oa390-Corsica-Hotels.html
 Each paginated page is referring to it's hreflang paginated page, for example: So should the hreflang refer to the pagined specific page or should it refer to the "1st" page? in this case:
 http://www.tripadvisor.nl/Hotels-g187139-Corsica-Hotels.html Looking foward to your suggestions.0
- 
		
		
		
		
		
		XML Sitemap on another domain
 Hi, We've rebuilt our website and created a better sitemap index structure. There's a good chance that we not be able to append the XML files to existing site for technical reasons (don't get me started). I'm reaching out because I'm wondering if can we place the XML files on another website or subdomain? I know this is not best practice and probably very grey but I'm looking for alternatives. If there answer is DON'T DO IT let me know too. Thx Intermediate & Advanced SEO | | WMCA0
- 
		
		
		
		
		
		Should canonical links be included or excluded in a sitemap?
 Our company is in the process of updating our sitemap. Should we include or exclude canonical links. Intermediate & Advanced SEO | | WebRiverGroup0
- 
		
		
		
		
		
		XML Sitemap Index Percentage (Large Sites)
 Hi all I'm wanting to find out from those who have experience dealing with large sites (10s/100s of millions of pages). What's a typical (or highest) percentage of indexed pages vs. submitted pages you've seen? This information can be found in webmaster tools where Google shows you the pages submitted & indexed for each of your sitemap. I'm trying to figure out whether, The average index % out there There is a ceiling (i.e. will never reach 100%) It's possible to improve the indexing percentage further Just to give you some background, sitemap index files (according to schema.org) have been implemented to improve crawl efficiency and I'm wanting to find out other ways to improve this further. I've been thinking about looking at the URL parameters to exclude as there are hundreds (e-commerce site) to help Google improve crawl efficiency and utilise the daily crawl quote more effectively to discover pages that have not been discovered yet. However, I'm not sure yet whether this is the best path to take or I'm just flogging a dead horse if there is such a ceiling or if I'm already at the average ballpark for large sites. Any suggestions/insights would be appreciated. Thanks. Intermediate & Advanced SEO | | danng0
- 
		
		
		
		
		
		Where to link to HTML Sitemap?
 After searching this morning and finding unclear answers I decided to ask my SEOmoz friends a few questions. Should you have an HTML sitemap? If so, where should you link to the HTML sitemap from? Should you use a noindex, follow tag? Thank you Intermediate & Advanced SEO | | cprodigy290
 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				