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 -
Homepage target keyword less volume than subcategory keyword
As an example - let's say that I have an online store that sells home accessories. Within my store, I have categories like "kitchen accessories", "bedroom accessories", and "bathroom accessories" among others. Naturally I would want my homepage to be the broadest keyword that best describes my store's offering (i.e. "Home Accessories"). Then, on my sub-category page, I would target "Kitchen Accessories". In this example - let's assume "Kitchen Accessories" has more search volume than "Home Accessories". Would it be better to focus on that keyword on my homepage instead? Example Current Homepage Title: "Beautiful Home Accessories - Crate + Feather" Alternate Homepage Title: "Bath, Bedroom, and Kitchen Accessories - Crate + Feather" Which one would you do assuming everything is equal aside from search volume?
On-Page Optimization | | clarasboutiqueusa0 -
Does homepage SEO exist at all?
hi Just read a Yoast article explaining that the homepage should never be optimized for a specific keyword and should only be optimized for its business or brand name. i have a large site that I'd like to rank (or increase traffic for as I know people get irritated with that term now) for 'Campervan hire'. It has plenty of sub pages going after 'Campervan hire 'location'' for example. it makes sense to me for the homepage keyword - my core keyword - to be 'Campervan hire' and for the homepage to be optimised for this. However, the article I've just read (https://yoast.com/homepage-seo/) suggests a separate page for this keyword. What are your thoughts pls?? thanks
On-Page Optimization | | CamperConnect142 -
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 -
Too many on page links in sitemap.html
My crawl report is flagging an issue with too many links to one of my pages, this page is my sitemap.html. However, I have coded the page so that if required is specified it generates an .xml version of the page and if not then the html version is displayed. What is the best way to stop the crawl finding the html version whilst maintaining it on the site for clients navigation?
On-Page Optimization | | SamPenno0 -
Moving our current homepage to a new URL
Our homepage currently speaks to a specific product and we're re-doing our homepage to be more about the brand which links to the product. The current home page has PA of 62 with thousands of links to the page. Question is are there any best practices around this or any risks? So current page is: www.xyz.com which we will be refreshing then moving the existing content to www.xyz.com/product so all the subdirectories gets shifted over 1 Thank in advance for the help!
On-Page Optimization | | JoeLin0 -
Contact Form On Homepage - Best Practices
How important is it to have a contact form on the homepage of a service-based business? I am trying to decide if having a form on front page will increase the number of people filling it out.
On-Page Optimization | | TheSEODR0 -
SEO Change/Version Control
Hi. Can anyone suggest apps that might be applied for SEO change/version control? I've tried using Excel and Word in the past but both fall short when dealing with multiple client sites. Nothing suitable pops up so far. Specifically I want to be able to log any on-page changes that might impact SEO for historical analysis and possible roll-back (manual) eg change date, page title, headings, url, anchor text, alt image txt, body copy etc. The ability to have one view that can be filtered in various ways including by client and by url would be ideal. Maybe this is something SEOmoz is considering for Pro campaign management? Surely there's demand... Thanks Andy
On-Page Optimization | | Bluesnapper0