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
-
Is it OK to 301 redirect 1000s of duplicate random URLs to homepag?
Hello, We found a critical error in our site internal link structure and the way Google indexes it. Website has 1000s of URLs that are basically 50% match to homepage. They all start the same example.com/category/random/random I can do a redirect match and 301 them to homepage. This way 1000s of bogus url are not indexed and no value given. Is it OK to redirect so many URLs to homepage? Platform is creating these URLs because of search query, where it adds all site content to one page. Currently this search page /category / has own canonical and all those duplicate content URLs have canonical to that /category /. To fix my plan is to a. Remove canonical from /category / that way all those duplicate URLs don't have it either. B. Redirect match all URLs that have /category / in them to homepage. (this is most important page where 50% of that content is and should be the main page). Is this plan ok?
On-Page Optimization | | advertisingcloud1 -
What should I title my homepage tab?
Our homepage tab just reads "home." Am I missing out on something with that? Should I re-write the tab to our brand name or a general descriptor? Best, Ruben
On-Page Optimization | | KempRugeLawGroup0 -
Yoast SEO sitemap link 404 problem
I have recently moved my wordpress blog from a subdomain into a directory e.g. www.mysite.com/blog/ and installed yeast SEO however when I go to the site map as directed in the pluign panel www.mysite.com/blog/sitemap_index.xml its not there are I get a 404 error? Any help much appreciated.
On-Page Optimization | | SamCUK0 -
Keyword at homepage
Hi there, this is the url of my homepage: http://www.sehaidoyamama.com/piensapiensa/ PiensaPiensa is not my keyword. I have selected a keyword to optimize the homepage. Does anyone know how to include the keyword in the url of the homepage? I tried to do it in the "pages" section of wordpress but I wasn't able to do it. The home page doesn't allow to change the url. Is it important to set up a keyowrd in the url of the homepage? Is it appropiate from the usability perspective? Thanks
On-Page Optimization | | juanmiguelcr0 -
It looks like there are several title tags on my homepage. This was done presumably to embed titles for pop up windows. This is causing an error report in DMOZ. Do the engines also veiw this negatively?
My homepage has a normal title tag, but when I look in the code I find the developer also added title tags for pop ups within the homepage code. Is this causing an issue with the search engines?
On-Page Optimization | | Furious-D0 -
Our sitemap is not indexed well
Hey there, Hope you guys can help. We get the following error: Nested indexing. Another Sitemap index refers to the index of sitemaps. The thing is that we cant find the error they are talking about. Thanks!!!!
On-Page Optimization | | Comunicare0 -
Random Products on Homepage?
On our homepage, would having 8 randomly selected products from your catalogue (some of which contain keywords) be good, bad or have no effect on rankings? The proucts change with every refresh. Some may remain the same, but just change position.
On-Page Optimization | | filarinskis0 -
No follow for html sitemap?
Hi, I have been working on an e-commerce site and have been wondering if i should add the meta robot tag with no follows, on pages like delivery , terms, returns and the html sitemap? From what I have read this seems a good idea, but i am a little confused as what to do with the html sitemap. I can understand that having this on the homepage will allow crawlers quick access to the deeper pages within the site. But would it be better to guide them down the natural route of the category navigation instead? Thanks
On-Page Optimization | | Bmeisterali0