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.
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 -
Redirects affect on page and domain authority
Hi - excuse me if this is stupid question but I'm rather new to this. Currently the PA for the home page is 16 and the DA 28 and I have some concerns that my efforts are being diluted. When I use OSE on www.sassandgrace.co.uk I get different link results to sassandgrace.co.uk but there is a redirect in place to sassandgrace.co.uk and cannot run a crawl report, for example, on www.sassandgrace.co.uk. The PA and DA are identical for each but the number of links different With a smallish number of links pointing to each but with a redirect in place, am I losing some of the effect or is having the redirect in place giving me all the credit for links to both addresses? Thanks
Link Building | | Sassandgrace0 -
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 -
What is the best way to remove a link that redirects to a spammy site?
I've got a new client and I'm trying to clean up their backlinks. There are several links that all redirect to this spam site http://www.expert-lender.com. All of the websites appear to be real, i.e. http://www.sammorganhomes.com/ but the actual links i.e http://www.sammorganhomes.com/wp-fav/backup/supplement/semitruckleasing.html are in a sub-directory and redirect to the spam site. I don't know if these links were from the previous SEO company or if they paid someone to create these or if these sites have been hacked. Can anyone tell me what is going on here and what should I tell these site owners?
Link Building | | Total-Design-Shop0 -
How to index Backlinks Fast in Google!
I Made few backlinks with my keyword but they are not getting index and it has been for 15 days. Do you have any idea that will help me out to solve this problem and also to index back links quickly.
Link Building | | rohitdeveloper0 -
How to make google index the page title has changed ?
Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change.
Link Building | | tuananh0688
Please help me .
My site : http://blog.addme.vn0 -
Do Local Listings like Yellow Pages and yelp count for backlinks??
I am wondering if adding your company with url on a local listing like yellowpages.com, yelp.com, merchantCircle.com, etc. actually counts as a "backlink"? I'm thinking it is not considered a link because I have never seen one listing in Open site explorer, either that, or it is considered a backlink, just not one important enough for open site explorer to show it. Does anyone know for sure??
Link Building | | DTOSI0 -
Building backlinks on sub-pages instead of main page(rood-domain)
Hey Mozzers! I am facing a problem and I need advice. I have recently opened my new website, which purpose is to offer quality articles, optimized for SEO. The problem is that I cannot find the right keyword to use for the main(root) domain (http://xxxxxx.org) as it is consisting of many niches. Is it a good idea to build backlinks on pages (http://xxxxxx.org/the-keyword-for-ranking) instead of building them on my root-domain? So basically, my root-domain will have less backlinks than my pages inside? Please give me some advice and way to act with. Thank you
Link Building | | Ralchev0