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
-
Duplicated Content on Wordpress Mobile&Desktop versions- Is it bad for SEO?
Hello, I use a Wordpress theme for displaying mobile and desktop versions separately. The problem is that if you use tools like screaming frog or if you look at the code (view source), you can detect duplicated content. But if you're browsing on your mobile you will see only the content I have created for the mobile version and the same if you're looking at the desktop version, you will only see the desktop content.
On-Page Optimization | | AlphaRoadside
Is this creating an SEO problem? If it is, please let me know why and if it has a solution. Thanks in advance.0 -
Should you use Plural version of a keyword or singular
H If kw research shows that singular version of a keyword has higher search volume than plural version should you still use plural version in main on-page areas to try and catch both instances or focus on the singular ? cheers dan
On-Page Optimization | | Dan-Lawrence0 -
Duplicated Products on Homepage and category pages
I have some of my best sellers located on the homepage of my websites. These same products may also appear on the category page as well. On the home page and the category page, the product title, short description, thumbnail, etc. are exact duplicates and I am afraid this is hurting me. I would appreciate any advice you may have on how to deal with this issue. These are some of my best sellers and most often, the homepage will outrank the category page for the product. Thanks in advance, lordhenry
On-Page Optimization | | jake3720 -
Spanish version of site - best practice?
I need to create a Spanish version of an existing site. My idea was to have the Spanish content switch out the English content if the query string had something like ?l=es. It would also drop a cookie so that all other pages would switch out content as well. I do want the Spanish content to be indexed and rank in the search engines, though. I would include all of the Spanish versions (with the ?l=es) in the site map and link to them on every page with a link to the Spanish version. Does anyone have any experience with this? Is this a bad idea? Thanks! Tom
On-Page Optimization | | TomBristol0 -
Does Google Bias Against Homepages for Search Queries that are a Question?
If you are trying to rank for a keyword phrase that is a question (e.g. how to ___) does it matter if your page is the home page of your site or an article on your site? I suspect that Google would treat question search queries differently and would show preference for articles over a home page in most cases. An article would be more likely to satisfy the searcher by providing the answer to their question, whereas the home page usually doesn't provide specific answers. I looked at one keyword phrase that is a question and only 1 of the first 20 results was a home page. Any thoughts or experience with this?
On-Page Optimization | | Charlessipe0 -
Sitemap for webshop?
Had a client today who contacted me regarding having no sitemap on his webshop (with about 2000 products). He told me that his design company, who had made his webshop, adviced him against putting up a site since it would be giving google to much information at once, hence making it stop visiting his webshop as much? Well my first through was -okay this must be some kind of joke.
On-Page Optimization | | zarkas
But with seo, there are always something, now and then, that still surprises you, So are there anyone else here, who could share some info on this?0 -
Best approach to create a mobile version of a website
Hi all, I have a customer that wants to create a mobile version of his website, he wants to create a subdomain to redirect visitors to the mobile version and this mobile version will be a separate folder hosted on the same hosting. I'm seeing really good things from frameworks like JqueryMobile but I thinks they are not really SEO friendly since they load pages with Ajax. So, the question is: its ok to use this kind of frameworks or should I create all the html and css by myself? I'm really looking forward to use the frameworks, since its faster and less time consuming than creating the whole site with html. But I don't want to waste time if it will not be SEO friendly. Thanks in advance
On-Page Optimization | | Pablotavano0 -
Google Sitemap
Does adding a Google Sitemap to webmaster tools REALLY help SEO? If so, are there any resources for help creating one? Here is my site: http://www.petmedicalcenter.com Thanks,
On-Page Optimization | | PMC-312087
Brant0