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.
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
-
Meta tags not being displayed for Mobile version of a blog even after the blog is indexed
I have updated the meta title and meta description for my blog. After updating the meta tags, blog URL was submitted in the webmasters and it has been crawled and indexed by Google but only for the desktop version and not for mobile version. Currently, meta tags are not being displayed for mobile version in Google. I have also checked with robots.txt file, there is no problem with this file. PFA screenshots for reference. Kindly help me out with this issue. eWu1k8N PdimKGq
On-Page Optimization | | priyankadesai1230 -
Chrome Add-on - see text version?
I used to have a chrome add-on to see the cached text version of a website. I lost it and was wondering if anyone knew an alternative or a good add-on Cyto
On-Page Optimization | | Bio-RadAbs0 -
Redirecting to homepage ok?
I deleted a bunch of category pages (renamed mostly actually and thought they'd be auto redirected like my blog posts are but they weren't) so I used a plugin that reroutes any 404 page to the homepage. Is that the best thing to do in this situation? Google Webmasters says there are about 84 404-errors and this should get rid of those right? Is there anything SEO BAD about doing it this way?
On-Page Optimization | | dealblogger0 -
Should homepage contain microdata?
If a homepage lists several items, changing frequently, is it advisable to add microdata and therefore tell Google as much as possible about the items there, or should microdata be added only to an item/news/video/post detail page?
On-Page Optimization | | RichardKay0 -
Re-targeting keywords from homepage to category page
My website home page ranks well for a keyword lets call it 'Keyword1'. I'd like to create a new category specific to 'Keyword1' and name it 'Keyword1' so the relevant content and products can sit in there. How can I ensure that my rankings of my current home page are passed on to this new category page? Many thanks,
On-Page Optimization | | alexhowe0 -
Tool for Generating Sitemap/ URL List
HI, I'm looking for a tool that'll generate a URL list for a site. I looked at this thread here http://www.seomoz.org/q/online-sitemap-generator which came up when I searched for sitemap generator. However, I don't need a sitemap per se, and I don't need to submit it to Google - just a list of pages is what I need.If it updated automatically, that would be useful as well. Anyone know of a tool, on or offline? Or anyone used Xenu and know if it's what I'm looking for? Or is there a simple solution that I'm missing? Thanks.
On-Page Optimization | | 5225Marketing0