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
-
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 -
What is CSS/ HTML good for SEO ?
Hi forks I dont know why Thesis and Genesis is good for SEO ? what is diffirent about website's code ( css/html). it is something about schema.org. i have to fix my website's code like that. thank U
Content Development | | giasungoaithuong0 -
In Index but not in Serps
Hi, I have a situation with a client site which is quite frustrating. Basically, most "recent" (by that I mean for the last couple of months) blog posts are failing to reach the SERPS (actually, one has and a couple have from the early days but it's taken months for them to arrive). Previously the blog posts were indexed very quickly - often instantly. Now, I've checked WMT etc and I've submitted each post manually but still nothing. The Sitemap is valid etc. However, pages (not blog posts) seem to be getting into the serps very quickly. Another complication is that if I search: site:www.domainname.com and set the date filter to a month I can see some of the earlier blog posts in that result set. However, if I scrape a bit of unique content from one of those posts and search - nothing in the SERPS. And my Moz report tells me that the page is not to be found in the top 50 either (so I'm confident these pages are not in the SERPS). Any ideas why this would happen to just blog posts? Is it something to do with the parent blog landing perhaps being too strong in the rankings? Any ideas appreciated. Thanks.
Content Development | | KMUK0 -
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 -
Services Page vs Page For Each Service Offered
Read an interesting article about how websites with just a "services" page suffer and they should try to create a meaningful page for each service they offer... Read so many blogs right now that I can't remember where I saw it
Content Development | | JamesFx0 -
Sub Domain vs New Domain
I have an existing blog separate from my main e-commerce site. (mainsite.com). Is there any advantage at all in moving the blog to a sub domain like blog.mainsite? I know putting it in a sub_folder_ is best. I don't want to do that because of security concerns. Handcrafter
Content Development | | stephenfishman0 -
Word Press Page vs Post
Hello, I have a site that is dedicated to real estate. I designed it in dreamweaver. I also attached a blog to it with wordpress. Its self hosted. My question is what is the best way to increase my search rankings with wordpress? Page vs Post? Any tips?
Content Development | | bronxpad0 -
Sub directory vs sub domain for company blog
My company's blog is currently a sub directory - www.site/blog.com but for technical ease we are considering changing it to a sub domain - www.blog.site.com. What are the SEO ramifications of each? Thank you! Best, Sara
Content Development | | theLotter0