undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Content Development
  4. Index.html vs. default.html

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.

Index.html vs. default.html

Content Development
3
7
4.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • bhsiao
    bhsiao last edited by Jun 13, 2011, 2:02 PM

    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?

    1 Reply Last reply Reply Quote 0
    • RyanKent
      RyanKent @bhsiao last edited by Jun 13, 2011, 3:31 PM Jun 13, 2011, 3:29 PM

      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.

      1 Reply Last reply Reply Quote 1
      • bhsiao
        bhsiao @bhsiao last edited by Jun 13, 2011, 3:10 PM Jun 13, 2011, 3:10 PM

        Thanks for your help, http://www.normas9000.com

        1 Reply Last reply Reply Quote 0
        • RyanKent
          RyanKent @bhsiao last edited by Jun 13, 2011, 3:06 PM Jun 13, 2011, 3:06 PM

          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.

          1 Reply Last reply Reply Quote 0
          • Zitana
            Zitana last edited by Jun 13, 2011, 3:31 PM Jun 13, 2011, 2:50 PM

            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.

            1 Reply Last reply Reply Quote 1
            • bhsiao
              bhsiao @RyanKent last edited by Jun 13, 2011, 2:32 PM Jun 13, 2011, 2:32 PM

              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!

              RyanKent bhsiao 3 Replies Last reply Jun 13, 2011, 3:29 PM Reply Quote 0
              • RyanKent
                RyanKent last edited by Jun 13, 2011, 2:13 PM Jun 13, 2011, 2:13 PM

                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.

                bhsiao 1 Reply Last reply Jun 13, 2011, 2:32 PM Reply Quote 1
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                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.

                • See all categories

                Related Questions

                • NextHeadphone

                  Google Index Issue

                  content optimization indexation

                  2 months ago, I registered a domain named www.nextheadphone.com I had a plan to learn SEO and create a affiliate blog site. In my website I had 3 types of content. Informative Articles Headphone Review articles Product Comparision Review articles Problem is, Google does not index my informative articles. I dont know the reasons. https://www.nextheadphone.com/benefits-of-noise-cancelling-headphones/
                  https://www.nextheadphone.com/noise-cancelling-headphones-protect-hearing/ Is there anyone who can take a look and find the issues why google is not indexing my articles? I will be waiting for your reply

                  Content Development | Dec 17, 2023, 5:57 AM | NextHeadphone
                  0
                • Aman0022

                  Website is not getting indexed

                  indexing crawling

                  Hi,
                  Hope you all are doing great!
                  I have created a dog blog a few weeks back which talks about all things about dogs (http://pawspulse.com/). I am publishing couple of articles everyday which are more than 5k words long with proper keyword research but still Google is not indexing my content. My content is systematically categorized in proper categories related to dog guides, nutrition, accessories, dog breeds etc.
                  Can anyone help me how to get the website index faster fully. Any help will be much appreciated. Thanks

                  Content Development | Mar 27, 2024, 9:26 AM | Aman0022
                  0
                • TapGoods

                  Blog.site.com vs site.com/blog

                  Which is better for SEO: blog.site.com or site.com/blog.  In other words, is it better to have the blog running in a subdomain or as a director within the main site?  Right now we are running as a subdomain, but want to be sure Google isn't considering that a separate site.  The blog shows up separately on Google Analytics, which makes me think site.com/blog is better if for no other reason, it would give our domain greater traffic. Not sure if this matters, but some site info: our site is a sharing economy tool for renting your stuff we are running the blog on Wordpress blog traffic is about 5% of total traffic

                  Content Development | Jun 19, 2016, 9:34 PM | TapGoods
                  0
                • Glaze

                  Shopify Blog vs Wordpress

                  We are moving our Ecommerce site to Shopify. Currently we run our blog on Wordpress and I'm wondering if anyone has an opinion on using the Shopify blog vs Wordpress?

                  Content Development | Jun 30, 2016, 11:38 PM | Glaze
                  0
                • JamesFx

                  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 | Sep 22, 2012, 3:18 AM | JamesFx
                  0
                • ClarityVentures

                  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 | May 11, 2012, 1:17 PM | ClarityVentures
                  1
                • GYMSN

                  Posts vs Pages and Rankings Differ Greatly

                  I use wordpress for most of my sites and generally have a post 'news' section.  What I've noticed is that just about every time a post will always rank much higher and much faster than a 'page'. As long as I don't let it get buried in the news archives it continues to rank well, better than if I were to create a 'page'. Is there any sort of reason this might occur?  I'd like to be able to just create 'pages' but at this point in time it makes no sense.

                  Content Development | Apr 23, 2012, 12:55 AM | GYMSN
                  0
                • blackrino

                  Text to HTML Ratio

                  What's a good Text To HTML ratio for a website?

                  Content Development | Aug 22, 2014, 2:32 PM | blackrino
                  0

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter

                Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

                Moz logo
                © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.