Index.html vs. default.html
-
Hi,
I have a website that is about 7 years old. I had been using index.html as the home page. When I redesigned my site about 3 months ago I changed it to default.html. The old index.html page was still on my server. I just realized my mistake. All of my links to the home page lead to the new default.html.
However, people are still landing on the old index.html. I have change the old index.html to the new design but that means i have 2 "home" pages out there. Should i delete one? Should I leave them both there but use the canonical tag for one so it is not considered duplicate content?
What is best for my rankings?
-
Thank you.
If that was my site, I would redirect your /index.html and /default.html pages to http://www.normas9000.com/.
I would then update your canonical as well. Lastly, there is no reason to have both the default and index.html pages so I would remove one of them.
-
Thanks for your help, http://www.normas9000.com
-
Can you share your domain name? It would make this a bit easier with specific examples.
The question I have for you is, when I type in www.yourdomain.com, what is the URL that appears in the browser? Is that URL www.yourdomain.com? or www.yourdomain.com/index.html? Also, take a look and see is you have any ReWrite's happening in your htaccess file.
In short, I recommend you 301 www.yourdomain.com/default.html to www.yourdomain.com IF you have any links (internal or external) to the default.html file. You would only make this redirect if your home page actually is www.yourdomain.com. If it is actually www.yourdomain.com/index.html then you can use that instead.
It gets confusing speaking in general terms and trying to address all the possibilities.
-
I agree with Ryan. 301-redirects to mydomain.com would be the best solution since index.html is the default file on your web server and visitors prefer remembering mydomain.com in stead of mydomain.com/default.html. Besides, unless "default" is a keyword, "default.html" doesn't have any seo value. In fact, it's recommended to use folders in stead of file names.
You can change the default page in your web server's apache configuration however.
-
If I type in mydomain.com, it brings me to the index.html version of my home page. So, I can 301 the default.html version to go to index.html and then make all my internal links go to index.html
Am I understanding you correctly? Thanks!
-
I would recommend friendly URLs which avoids this entire issue.
More specifically, I am suggesting your home page URL be something like www.mydomain.com, not www.mydomain.com/index.html nor www.mydomain.com/default.html
Whatever you decide, the best solution would be to 301 your old home page(s) to your new home page. You would also want to update any internal site links to your current home page. If you have control or influence to update any external links, do that as well.
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
-
How to make a .dwt in html 5
I bought a new HTML 5 theme. My website is still in frontpage and now the SE penalties are killing my business I have lost over $150K in revenues since July compared to the previous year and am going insolvent if I don't get my rankings back. So I have redo my website this week. I have tried many times to do this with many platforms (drupal, C5, joomla & others) and my brain keeps getting stuck. I think I figured out why. I am used to frontpage and the .dwt which allows me to easily create new pages from the .dwt and I know enough about SEO to do the job but I can't get out of the gate with the new themes. The .dwt worked with my brain & I am lost without it. My questions are 1-Is there a web editor I can get for HTML5 that I can create a .dwt from? The site I got the theme from also sells them for dreamweaver & expression web but I am concerned if I use those I will find myself right back where I am now, w/ an unsupported platform. 2-The other thing I am stuck on is when I open the index.html file in an editor and try to modify a page to get started, I try to preview the page and I can't see the CSS. Is that normal? My concern is spending the massive amount of time to do the work and then finding it doesn't display properly. 3-I also need the ability to 301 redirect my old pages which I can't do with frontpage, I'm at the point where i must redo the site ASAP and upload it but I can't get it started. I must rename most of my pages for SEO reasons, i used short form page titles not long form when I did it years ago. For instance, the domain is cheaptubes.com and I have a page that is cheaptubes.com/swnts.htm when it should be cheaptubes.com/single-walled-carbon-nanotubes.htm for proper SEO. I need to redo the site, rename the pages, and then 301 to the new pages. I had my hosting co do a 301 years ago from my old domain cheaptubesinc.com to the new one cheaptubes.com but a moz member correctly showed me yesterday that the 301 is no longer there. (another reason to get to a platform where I can do the 301's myself). I am getting a duplicate content penalty as the SE's see both sites with the same content. I think all of these things add up to the total devastation I am seeing with my business and I will go under soon if I can't start ranking well again. If I can get the new site up & the 301's working then I will resubmit the site to the SE's 4- do I need to 301 the old site too?
Content Development | | cheaptubes0 -
Global Blogs vs Regionalised blogs
Im in the process of launching a blog. The blog will be for global audience. If I wanted to target a more specific region in the future example UK would it be advisable to launch a separate blog for the UK market or how could I regionalise the posts if I kept blogging on the Global blog.
Content Development | | Clickatell20 -
In my website all the pages are not indexed by google..what to do for the same
In my website http://www.dubins.ae, all the pages are not indexed by google. How to make sure that all the pages are indexed by google?
Content Development | | Muna0 -
I started a Wordpress blog, google indexed it...
How long before I can see those links show up in SEO Moz for my website? What elements is SEO Moz looking for before they add the wordpress site to my linking domains report? Regards, Jeff
Content Development | | biggieshaws0 -
How to make new content Indexed faster by google
I would like to know what can I do. Normally it takes google around 3 days to index my content. I got a site map, swiched the crawling rate to the fastest in my webmaster tools. I also tried crawling my homepage as google bot and sending it to the index with all linked pages but even if I do so my content takes around 3 days if not more to get indexed. I publish around 20 posts a week. My SEOmoz page authority is 48. Some sites of my competition seem to be getting their content indexed in the same day. What else can be done?
Content Development | | sebastiankoch0 -
Onsite Blogging Vs Guest Blogging
Hey all! I have a limited amount of time allocated to writing instructional blog posts for my company. When I complete an article I can do whatever I want with it: pitch it as a guest post on an industry blog, or post it on my company's onsite blog. I know there's not a magical solution regarding the percentage of time one should devote to guest blogging v. focusing on the company blog, but I figured I'd throw the conundrum out to the Mozzers anyway. In your opinion, how many of your writing resources should be devoted to guest posts, and how many should be devoted to maintaining the onsite blog? What if our onsite blog isn't currently receiving a lot of traffic? Thanks! Meg
Content Development | | ClarityVentures1 -
Indexing of PDF files
Hey all, I understand the functionality of PDF files being indexed and how to remove them if required so in this post I'm not requiring any advice on 'how to' as such, but i just wanted to get a general opinion/consensus of if you deliberately allow PDF files to be crawled/indexed.
Content Development | | Daylan
Whether or not you guys optimise the files for search.
If you do disallow them from being crawled and indexed, why?
Generally the pro's and con's you may have found about have searchable PDF files as part of your indexed content.1 -
Should I Have No Index, No Follow On Blog Category & Tag Pages?
At some point in the past I read or was told that No Index, No Follow tags on category and tag pages were a good thing on a standard WordPress blog in order to prevent duplicate content issues. Is this still true or was it ever true?
Content Development | | eTundra0