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
-
Sitemaps Updating
Im using wordpress and I realise that my sitemaps doesnt update itself when i add an additional page on my website, like a blog post. I have to go to (1) setting > xml sitemap setting > click on build sitemap > save changes in wordpress, and then (2) Export the sitemal.xml file it to webmaster tools in google every single time i blog. Am i doing it wrong? i feel that all these should be automatic.
On-Page Optimization | | kevinbp0 -
Author avatar in homepage search result
Hello I actually see some websites which the owner don't want to display the google+ profile avatar when homepage is displayed in search result, except blog posts only For example: yoast.com Is it a good practice in wordpress? or we must claim authorship & display the google+ avatar for all pages & all posts? Thanks
On-Page Optimization | | dklong23450 -
Sitemap.xml parameters
Hello, I confused about the parameters when create sitemap.xml. I don'n know how to use these parameters efficiently. Some parameters are:
On-Page Optimization | | JohnHuynh
- **Page changing frequency: **what is a good value? Can I choose "None"?
- **Last modified date: **what is a good value? Can I choose "Don’t specify"?
- **Page priority: **what is a good value? Can I choose "Don’t specify"? Thanks,0 -
Yoast Sitemap Best Practices
I'm using the Yoast SEO plugin and I've never really known the correct answer to this question or which factors you should consider when choosing, but can someone give me some advice on which post types and taxonomies to exclude when generating the sitemap using this plugin. I know this is probably unique to each site, but can someone share what criteria they weigh when choosing which ones to exclude for their own site?
On-Page Optimization | | atstickel120 -
Optimize On-Page Mobile Version
Hello, Do we need optimize on-page for mobile version, such as: How about title tag, description tag? Should mobile have another sitemap or not? Does google penalty my webpages mobi vs desktop are duplicated content? Thanks for any your advice!
On-Page Optimization | | JohnHuynh0 -
Title Tags: Does having the singular and plural version of the keyword hurt the ranking?
I'm wondering if there is a duplication issue with having a singular AND plural version of a keyword in the Title Tag. For example: Wood Desk - Wood Desks| Furniture Store Would this help or hurt my ranking for this URL? I can’t find a concrete answer for this under Moz’s “Title Tag SEO Best Practices Page.” Thanks for your help!
On-Page Optimization | | jampaper0 -
Redirect a blog category page to the homepage?
Hi folks Following Penguin 1.1, I have a client site at number 5 for their primary keyword. (was creeping up page 2 with whitehat link building and tight on-site SEO.) However now the page ranking at No. 5 is for a blog category archive. What do people think the quickest / safest way to get this ranking directed back to the homepage is? Many thanks Simon
On-Page Optimization | | SCL-SEO0 -
Has anyone ever attempted (successfully or not) to consciously reduce their amount of homepage links in order to improve their search engine rankings?
I work for a retail company that is highly segmented. We have a lot of categories to cover the types of merchandise we offer on our home page, and way more than the recommended # of links on our homepage because of it. Has anyone ever attempted (successfully or not) to consciously reduce their amount of links (and categories) in order to improve their search engine rankings? If so, can you walk through your process and your advice on whether or not reducing links on a site like mine is a good idea?
On-Page Optimization | | reallygoodstuff0