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 -
How to create link from google redirect?
I have seen redirect links from google but not sure how to create one. Please guide if anyone knows the answer. Example: https://images.google.cv/url?q=https://moz.com
Link Building | | Melissacarter3 -
Central Index Directories
Hi all, I'm based in the UK and i'm looking to submit to a several directories under the central index umbrella, for example to these directories: http://findit.chad.co.uk/ http://directory.nottinghampost.com http://directory.burtonmail.co.uk/ I've filled my profile out and have submitted to one of the above directories, however when I sign in to one of the other directories it asks me to re-fill out all my details. Is there not a way i can submit to several of these directories by signing in without confirming my telephone number for each one ? Many Thanks in advance Paco
Link Building | | paco87230 -
Is there any SEO value of an HTML Sitemap, or is it strictly UI/UX?
We have an xml sitemap that generates daily, and our site and navigation is strong. Is there any added SEO value in either the links, or content of an html sitemap? I only see answers from several years ago so not sure if things have changed that would increase or decrease the importance. Thanks
Link Building | | Education4Life0 -
What's more important page authority Vs domain authority?
Hello everyone, I am fairly new to SEO so I'm still trying to get my head round everything, I am currently looking into some back links .. well looking at competitor's back links to copy. I was just wondering what's more important page authority or domain authority? So for example if a page has a page authority of 50 and a domain authority of 10 is that better than if a page have page authority 10 and a domain authority of 50. Thanks so much in advance!
Link Building | | vanplus1 -
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 -
Should I link from my blog back to my product pages?
Hello... I just installed a blog on my Magento site. My question is whether or not i should be linking within posts on the blog back to the product or category pages that i am talking about...from an SEO perspective. If in my post i am talking about flashlights being important when preparing for a storm, should i link the word flashlights to the flashlight category on my site? I know I can do this, the question is should i, from google's perspective. A) should i link the word (flashlights) to that category on my page B) should i put a line at the bottom of every post that says something like "if you are interested in purchasing flashlights, visit this link" and hyperlink that whole sentence... THANKS!
Link Building | | Prime850 -
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