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
-
No index for http version of website
Hi, I've had a message from Google search console to say the sitemap for the http version of my site is tagged as no index. As the https version is indexed, do I need to change the http version to be indexed as well? Do I need to keep the http version of the site in search console alongside the https version, or should I remove it? Advice appreciated!
On-Page Optimization | | Robingoodlad0 -
Homepage SEO optimization
Hello, I’m almost ready to lunch my new website https://thetravelhoop.com , I just need to create the content of the product page and put all the images. I would like to know what you think in terms of SEO of the home page (is the content that I want to rank the most). My doubt is that since it is a landing page, there is not a lot of text but mostly <h>. It’s not a styling decision of course (I know is bad practice) but mostly because they are supposed to be title/headings.</h> Do you think I’m doing something wrong, or do you have any suggestions? Thank you, Daniele
On-Page Optimization | | danielecelsa0 -
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 -
Can "window.location" javascript on homepage affect seo?
Hi! I need to add a splashpage to my wordpress site. I use "window.location" javascript on the homepage to redirect on the splashpage (controlled by cookie to redirect only for the first access). Can this technique affect the SEO on homepage? Thanks in advance!
On-Page Optimization | | StudioCiteroni0 -
Duplicate URL for homepage
Hi Gurus, Thank you for reading this question My site is developed in Classic ASP How can i make sure the homepage is not duplicated for http://www.partyrama.co.uk/ http://www.partyrama.co.uk/default.asp http://partyrama.co.uk/ http://partyrama.co.uk/default.asp Regards Sri
On-Page Optimization | | partyrama0 -
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 -
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 -
Links from my homepage
I am redesigning my homepage completely. What criteria should I use to decide which pages to link to from the homepage?
On-Page Optimization | | mascotmike0