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
-
How much text is recommended for a homepage?
I'm working with a client who is redesigning their site and the new design is very image heavy. Does anyone have any recommendations on the minimum amount of text the homepage should have so that it will rank (or at least not be penalized)? It's a site created by a known brand, but the site itself and URL are relatively new. Katherine
On-Page Optimization | | KatherineWatierOng0 -
Webmaster sitemap how to tell Google to recheck and no of times to check a day?
Webmaster sitemap how to tell Google to recheck and no of times to check a day? But how often google check if the sitemap version changed and how to notify google about the change happened
On-Page Optimization | | bsharath0 -
Can I add multi location business cities to homepage meta title or desc.?
I have a business with 6 locations (in the same state) but very different cities. We we expanded from one location with the city name in the URL we followed best practices to move to the new domain without the singular city name in the URL. We definitly took a hit on the organic side and I'm trying to figure out best practice for where to add geo info. Currently I have geo info: -In footer
On-Page Optimization | | beehiive
-Contact Page -On local page It's a WP site and each location has it's own page (ie. locations/geolocation_keyword). I know all other locations will take sometime but my concern is the hit we took on the original location that had geo-target URL. I guess really my question is simply can I include city names in homepage meta title and desc.?
and is there anything else I can do to bounce back organically on the original city faster?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 -
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 -
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 -
Does the homepage of GetSatisfaction have very good on-page SEO? please give some critique
Hi Mozzerz, If you have done successful on-page SEO optimization in the past, this may be easy for you to analyze quickly. (especially if you have some tools to help you compare things like keywords vs code weight etc) Does the homepage of www.GetSatisfaction.com constitute a well done on-page SEO? Could you please critique the homepage's SEO value and say why it is very good or why it is OK, or why it is bad.
On-Page Optimization | | limens0 -
Target the homepage?
Hi SEOmoz! I have a potential client who is piloting a web application in a specific geo market, but plans on expanding to 10+ cities in the near future (6-12 months). He wants to rank for "[initial geo market] + [service]". Should I optimize the homepage for this keyword (which will be relatively easy to rank for), or encourage him to build out a geo-specific template (could take a few months to add this to the application) for this market, and try to rank that so it's scalable? Thoughts are appreciated. 🙂 EDIT: In terms of the business type, this is a web application that helps people organize their travel. It isn't your local traditional restaurant that is trying to compete with others in their area. We would be competing with other nationally recognized travel applications (TripAdvisor, Yahoo Travel, etc), most likely.
On-Page Optimization | | TommySwanson520