Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Should I 301 Redirect The index.html Page?
-
Hello,
As an experiment I am trying to work with an SBI site but am noticing index.html is being forced on me as the homepage.
As I understand it's good practice to 301 redirect the index.html page to the to the actual home page. Can someone please confirm that I am right in thinking this?
Here is an example:
http://www.anguilla-beaches.com/index.html
http://www.anguilla-beaches.com/According to yahoo 773 links are pointing to the index.html page and 771 links are pointing to the / page.
I'm sure Google knows that these are the same pages and does not consider them as duplicate but surely the index.html page should be redirected right? am I going mad here?
Now if we look at this site:
http://www.jugglenow.com the homepage has 198 links according to yahoo
http://www.jugglenow.com/index.html this page also has 198 links? now I am confused, are these 2 the same page?On this page:
http://www.jugglenow.com/juggling-balls.html notice how there is no link to the actual homepage but there is a link to the index.html page.
Am I missing something here because I can't figure it out, surely there should be just 1 homepage without a index.html page.
Any help would be appreciated
-
The most important factor is to ensure only one URL is available for each page. You should not present the same page through both the /index.html and / URLs. Pick one.
My strong preference is to use the simple / URL as "index.html" does not offer any value to users nor search engines. It just makes the URL longer and more cluttered.
I'm sure Google knows that these are the same pages and does not consider them as duplicate ...
Not true. On your site you may choose to offer the same content via /index.html and /, but another site could choose to present completely different content on those pages. You are offering two unique URLs, your content is duplicated and that can cause multiple issues. Duplicate content is an issue and a division of your links is another issue.
The simple fix is to design your site from the beginning to only offer a / page and not a index.html page. If you have an existing site where this is an issue, use the 301 redirect to fix the problem.
-
Go ahead nad 301, SE see it as a canonical as index,html is not always the default page. make sure you dont have any internal links point t the .html, of you will leak link juice though the 301 un-necessary.
doing a 301 should consolidate you link juice.
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
-
slug Link redirect to subdomain?
Hi !
Link Building | | Leviiii
Im Levi new here and new in the world of SEO, please dont judge if my questions are silly. Back on the days when the site was built we thought it is a good ideea to have subdomains that together with the domain name represent our main keywords.
ex. https://stansted.tonorwich.uk, https://heathrow.tonorwich.uk, https://luton.tonorwich.uk, https://gatwick.tonorwich.uk. There is content on this subdomains, would it make any difference from SEO perspective if we create slugs that redirect to these subdomains? for example creating https://tonorwich.uk/taxi-minibus-vip-tesla-norwich-to-stansted that redirects to https://stansted.tonorwich.uk ? Or better create these slugs with slightly different content?
Any ideeas would be appreciated.
Thanks in advance!0 -
Redirect from a previous url
Hi - newbie question I have a customer who's had previous versions of his website. Previously it was known as "princess-interiors.co.uk" (been around for a few years) and is now "princess-design.co.uk" (been around also for a few years). New site is WordPress - what would be the best way to redirect (I have access to the previous version of the site which is still hosted). I expect it's to use 301, but how would I do that (step by step), and does www. versus non-www need addressing (and how). Really concerned, as this site has gone to zero organic visits!! Hoping somebody can help. Thanks
Link Building | | Gokart0 -
Backlinks from the Same Domain (But Different Pages)
Wayyy back when (in the days of yore) Mr Cutts spelled out in a video that page rank is distributed equally between the external links on the page. If there are two links on a page, each gets passed 50% of the available page rank etc. (Perhaps an oversimplification but bear with me). As a result of this, the company I worked for at the time (this was the dark ages when sidebar homepage links were in vogue) decreed that we would only ever approach a site about a link for a client once, as additional links had little extra SEO Value. Now you could argue that if there are 5 external links, each acquiring 20% of the power, and your site has 2 of those, you are getting 40% of the power, but lets forget the basic math for a minute. I have scoured the web and Mr Cutts' videos and I cannot find the answer to my question: If my site (Site A) has a backlink from SiteB Page 1, and a backlink from SiteB page 2 - does this count as two separate links in the eyes of Google? If the SAME site links out to my site, linking to different pages in different posts, does this give me more SEO benefit? Thanks for your time!
Link Building | | Turkey0 -
Does this count as a backlink to my category page?
I am ranking high with a certain category page and I am reading that I need backlinks to that page. It is going to be a challenge to get a backlink to that specific category page but how about this? Category page URL: www.mysite.com/category/name Backlink to this URL: www.mysite.com/category/name/specific-blog-post (EDIT: Apparently these types of links don't exist! I went into the category page and clicked on a blog post and it just gave me the www.mysite.com/blah-blah-blah) Will that count as a backlink to the category page? Right now I am only getting backlinks to these blog posts: www.mysite.com/this-is-a-blog-post Any help appreciated! EDIT: Well I guess now my question is worthless. But if you have any input, it would be appreciated.
Link Building | | dealblogger0 -
Does Google index a content in iframe?
Hello guys, I´ve done a infografic and i want to share it with some bloggers. But, i want to share an iframe, not an image (beacuse there is some links on it). My question: Can Google consider the links inside an iframe (for link building)? Thank you 🙂
Link Building | | seomobly0 -
Does the root domain hold more power then an inner page?
Question, Lets say a new domain is launched, the root domain and an inner page target the same term. Google comes along for the first time and indexes the website. Does it see the target term on the homepage as more important then the inner page because you are putting it on the root? I get the feeling terms connected directly with the root domain have a better chance of ranking then the term being on a inner page. Any thoughts on this?
Link Building | | activitysuper0 -
Why is my Page Rank 0.
Hi, I am trying to understand why my Page Rank is 0. Many forums say that it is because my site has been blocked by google. Any help with this would be much appreciated. http://davincidrivers.com
Link Building | | MariaPerrone0