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
-
Spammy links redirecting to homepage of site -
Hey guys, I'm auditing a website at the moment and Moz is showing a few spammy links linking to it. The problem is these domains are all 301 redirecting to the domain I'm auditing. Let's say I'm auditing Site A. Site B is been flagged in Moz OSE with 12 spam flags. When I try to open Site B in a browser, it redirects back to Site A. What's the best thing to do, here? Disavowing domains redirecting to the site is surely a bad idea? Cheers.
Link Building | | BrianYork-AIM0 -
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 -
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 -
Linking to root domain or index page
While link building, should I link to index page of my website i.e www.mydomainname.com/index.html or should I link to root domain i.e www.mydomainname,com Also I see duplicate title error for index page and root domain in error statistic. How can I get rid of this.
Link Building | | ArtiKalra0 -
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 -
Site stuck on 2nd page on Google - how can it improve?
Hi I am working on a site http://www.harrisbassett.co.uk that for search terms such as 'Chartered Accountants Swansea' appears near the top of the 2nd page of Google. When looking at what is listed on the 1st page for 'Chartered Accountants Swansea' I would appreciate any advice/guidance on what else could be done to give the site a final push to get on the 1st page of search results. Over the past 2 weeks I have been building inbound links from local citation sites yelp, qype etc along with sites from competitor analysis via opensiteexplorer. Looking at the sites that are on the 1st page I cant understand why many of them are ranking higher than me? Any insight and plan of attack would be most appreciated from any search experts on the forum. Many Thanks
Link Building | | idv0 -
Index.php OR .php - Which is better for urls
I was wondering. When I build links should I build them using "index.php" OR ".php" at the end? Does one have any more value than the other from an SEO standpoint Example: www.mywebsite.com\hotdogs\index.php or www.mywebsite.com\hotdogs.php
Link Building | | openspan0