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 -
Should I target two pages for the same keyword, but two different intents?
When people type in a certain keywords in my industry space (animated video), they usually have one of two intents: some want to see videos (for inspiration or entertainment or whatever) and some want to hire a company. We have pages that meet each intent. Some "Best of..." blog posts for the crowd that want to see videos (that might be top-of-the-funnel prospects, potentially) and a landing page for the buying-intent people. I'm seeing each ranking page as essentially two, kept in proper balance to meet search intent by click-throughs. So I'm betting that my landing page won't cannibalize the "best of..." page. Is that the right way to see it, or not?
Link Building | | Wagster0 -
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 -
Any Instant Indexeing social Bookmarking sites available on search engine or not?
I want to that my backlinks are instant indexed, so is any social bokkmarking sites availble when backlinks can instant indexed then please answer me.
Link Building | | renukishor0 -
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 -
Do links to my website improve all pages?
I'm currently building links to my home page (through directories) and blog pages. However, none of these pages are actually targeted pages for main keywords. In SEO, do links to any webpage of a site contribute to the improved rank of other pages?
Link Building | | Gavo0 -
Hubpages and Page authority
Hi, I've created a Hubpage awhile back and I see the url has a page authority over 50. How much does Domain authority influence page authority? The url has only 3 (registered) backlinks, so I cannot see an obvious explanation why. I understand that Hubpages was one of the sites that "took a hit" with the Panda update, but it has a domain authority of 84...
Link Building | | vibelingo0 -
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