Which version of the homepage on the sitemap?
-
We have been wondering this for a while now.
When we build our sitemaps, or when the yoast plugin does in WP we are often left with www.yourdomain.co.uk/ and www.yourdomain.co.uk/index.html in our sitemaps.
Surely it isn't healthy to have both in the sitemap. Which one should we take out?
Thanks
-
No its not. one should redirect to the other.
but I think your problem is that you have links within your site that point to both, this is why the auto sitemap generation generates both.
find the internal links and fix them.
-
Put the version that your site directs to. If both can be accessed without a redirection, I would redirect the index.html to not show the file and extension.
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
-
Canonical Homepage Multi-language Website
Hello, Our development department is building a multi-language webshop.
On-Page Optimization | | X-com_Maasbree
Due to the multi-language module that they've used, we have example.com and example.com/nl having exactly the same content. In order to avoid duplicate content, those pages have the following canonicals:
1. example.com -> Canonical to example.com/nl
2. example.com/nl -> Canonical to example.com/nl Do I loose SEO-value by not canonicalising directly to the root-domain homepage (example.com)?0 -
Login Page Outranking Homepage
Hi all, I have a subscription based website with a members login. For our branded terms, this login page is outranking the homepage and we're unsure what, if anything to do about it. One suggestion was to deindex it, but the counter-argument was that we'd be taking away one of our spots on the first page. I feel from a user experience, it would be best to deindex it to try and get the homepage ranked #1 since the login page not optimised towards new visitors. Another suggestion was to just optimise the title and description to make it look a little nicer. I would love to hear your thoughts Thanks!
On-Page Optimization | | CupidTeam0 -
Our urls for adwords are slightly different from current urls presented on site (weused htaccess to help create shorter urls). How important is it that the adwords url match the sitemap url for keywords on those pages?
Hello, We have dynamic urls that we have made into short urls through htaccess and code manipulation. Some of our adwords urls are different from our page urls - for example a) Latest version of page www.abc.com/x-y-z.html b) Previous version of url www.abc.com/x+y+z.html c) raw original version www.abc.com/yyy/zzz?category=X&Product-code=Y etc etc. Would my ranking for keywords on the page improve if I diligently made all of them the same? They all go to the same page even now, and no 404 errors or anything. Thanks Sam
On-Page Optimization | | samgold0 -
Sitemap for Mobile Version of Site
Hi, I just did a mobile version (http://m.vietnamvisacorp.com) of my site (http://www.vietnamvisacorp.com). And was looking for some guidance on where to put it in the sitemap. Do i need an entirely new sitemap for mobile site, or do i just add to my existing .xml of desktop site. Thank you!
On-Page Optimization | | JohnHuynh0 -
Issue with old sitemap
Hi Quite new to SeoMoz so some learning curve but we have one issue on a site perhaps someone can advise on? We have many duplicate page titles / content, we think this was due to a corrupt sitemap.xml file, all of the URL's look like this with an odd page at the end http://www.totalpetsupplies.co.uk/problem.aspx?aspxerrorpath=/animals/Cat_Accessories_Pet_Collars/privacy.aspx So that XML map was removed well over a week ago, the new sitemap is an apsx generated one to get all pages correctly show as www.totalpetsuppies.co.uk/sitemap.aspx. Goolge and Bing have that. SeoMoz re did our site and the errors went up a bit!! Not sure how that process works, anyone any suggestions? Cheers Shaun
On-Page Optimization | | ShaunSizen0 -
Homepage vs. Product page competition
I think my homepage and basic product listing page may be competing.. We have a very old domain with lots of links w/ generic anchor text ( click here, etc. ) That page is http://mybrand.com which Google ranks for our "widgets" search term. We have a page http://ourbrand.com/widgets that lists the 5 or 6 basic widgets we sell. This page is indexed also, but doesn't have nearly as many links since it is new compared to the age of the domain. After reading this.. http://www.seomoz.org/blog/how-to-solve-keyword-cannibalization I I'm not really sure I can remove all "widgets" links from our homepage, since that's a core part of our site's menu / hierarchy. So maybe my best effort would be to reorganize the page so that the homepage focuses on Our Brand Name Widgets .. and let the product page focus on the widgets keyword. Is having those two pages serve to represent those two separate but similar keywords feasible? Thoughts?
On-Page Optimization | | minutiae0 -
No follow for html sitemap?
Hi, I have been working on an e-commerce site and have been wondering if i should add the meta robot tag with no follows, on pages like delivery , terms, returns and the html sitemap? From what I have read this seems a good idea, but i am a little confused as what to do with the html sitemap. I can understand that having this on the homepage will allow crawlers quick access to the deeper pages within the site. But would it be better to guide them down the natural route of the category navigation instead? Thanks
On-Page Optimization | | Bmeisterali0 -
How do we handle sitemaps in robots.txt when multiple domains point to same physical location?
we have www.mysite.net, www.mysite.se, www.mysite.fi and so on. all of these domains point to the same physical location on our webserver, and we replace texts given back to client depending on which domain he/she requested. My problem is this: How do i configure sitemaps in robots.txt when robots.txt is used by multiple domains? If I for instance put the rows Sitemap: http://www.mysite.net/sitemapNet.xml
On-Page Optimization | | nordicnetproducts
Sitemap: http://www.mysite.net/sitemapSe.xml in robots.txt, would that result in some cross submission error?0