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.
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
-
Sitemaps XML or the HTML?
Which type of sitemap is better for search engines the .XML or the HTML?
Content Development | | Madlena0 -
Renaming web pages vs new web site
I am struggling with renaming a lot of my web pages because I used short form acronyms vs long form keyword page names and now my pages aren't ranking where they should be and used to be. I am weighing a whole new web site or just a massive update with new page names. I also have an old domain that 301's to the new url but the old one outranks the new one. If you search google for cheap tubes the first domain you see is www.cheaptubesinc.com (the 301'd version) when the real url is www.cheaptubes.com. I know I am getting a duplicate content penalty and when moz crawls my site they see 2X the page that I really have. I tried fixing this with canonical tags but it only helped 5 pages according the moz crawls since doing them. Since last July 4th my business has been declining and I know there was an SEO algorithm update last July 4th. I think either method of renaming the web pages with better SEO for instance cheaptubes.com/single-wall-carbon-nanotubes.htm vs cheaptubes.com/swnts.htm as it is currently. In either case, it is still an HTML 2 website done on frontpage and the question I keep asking myself is if I should just scrap the whole site and start over with a more modern format. Should I try to get a new site together with good SEO and publish it quickly vs rename and 301 a bunch of pages? What about the old site? Do I need to track the old page names and 301 them to the new ones? Any help is appreciates Mike
Content Development | | cheaptubes0 -
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 -
Rel=publisher vs G+ badge without
I've read that I should only have a rel="publisher" once on my site (on the home page) in a link that points back to the corporate G+ page. Cool. But, if I want to have a link to the corporate G+ page in the footer of every other page on the site then I assume it's okay as long as I omit the rel="publisher" part, correct? Second question: For blog postings, I assume it's good to include a rel="author" tag in the link to the author's G+ page, right? Even though there is a link to the corporate G+ page in the footer of the same page.
Content Development | | scanlin0 -
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 -
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 -
Index pdf files but redirecto to site
Hi, One of our clients has tons of PDFs (manuals, etc.) and frequently gets good rankings for the direct PDF link. While we're happy about the PDFs attracting users' attention, we'd like to redirect them to the site where the original PDF link is published and avoid that people open the pdf directly. In short, we'd like to index the PDFs, but show to users the pdf link within a site - how should we proceed to do that? Thanks, GM
Content Development | | gmellak0