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
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • 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.

    Let your business shine with Listings AI
    Moz Local

    Let your business shine with Listings AI

    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.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • 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.

    • 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. Intermediate & Advanced SEO
  4. Duplicate Content From Indexing of non- File Extension Page

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.

Duplicate Content From Indexing of non- File Extension Page

Intermediate & Advanced SEO
4
22
3.4k
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.
  • WebbyNabler
    WebbyNabler last edited by Mar 5, 2013, 11:43 PM

    Google somehow has indexed a page of mine without the .html extension.  so they indexed  www.samplepage.com/page, so I am showing duplicate content because Google also see's  www.samplepage.com/page.html   How can I force google or bing or whoever to only index and see the page including the .html extension?  I know people are saying not to use the file extension on pages, but I want to, so please anybody...HELP!!!

    1 Reply Last reply Reply Quote 0
    • WebbyNabler
      WebbyNabler @Mike.Goracke last edited by Mar 6, 2013, 8:12 PM Mar 6, 2013, 8:12 PM

      Yeah I looked further into the URL removal, but I guess technically I did not meet the criteria....and honestly I am fearful other potential implications of removal....I guess I will just have to wait for the 301 to ick in.  I just cant believe there is not a simple .htaccess code to cause all URL's to show the .html extension.  I mean it is a simple thing to implement the reverse and have the extension dropped...I mean....good lord...

      Thanks for all your help though Mike, I truly appreciate the efforts!

      1 Reply Last reply Reply Quote 0
      • Mike.Goracke
        Mike.Goracke @WebbyNabler last edited by Mar 6, 2013, 7:56 PM Mar 6, 2013, 7:56 PM

        LAME! You may just want to let the 301 redirect you have in place take its course or remove the URL from Google's index since it was added by mistake anyway.

        Mike

        WebbyNabler 1 Reply Last reply Mar 6, 2013, 8:12 PM Reply Quote 0
        • WebbyNabler
          WebbyNabler @TakeshiYoung last edited by Mar 6, 2013, 7:49 PM Mar 6, 2013, 7:49 PM

          Nope. .....good lord....

          Mike.Goracke 1 Reply Last reply Mar 6, 2013, 7:56 PM Reply Quote 0
          • WebbyNabler
            WebbyNabler @Mike.Goracke last edited by Mar 6, 2013, 7:49 PM Mar 6, 2013, 7:49 PM

            Nope. 😞

            1 Reply Last reply Reply Quote 0
            • Mike.Goracke
              Mike.Goracke @TakeshiYoung last edited by Mar 6, 2013, 7:36 PM Mar 6, 2013, 7:36 PM

              If that does not work, give this a whirl:

              RewriteCond %{REQUEST_URI} !\.[a-zA-Z0-9]{3,4}

              RewriteCond %{REQUEST_URI} !/$

              RewriteRule ^(.*)$ $1.html

              WebbyNabler 1 Reply Last reply Mar 6, 2013, 7:49 PM Reply Quote 0
              • TakeshiYoung
                TakeshiYoung @WebbyNabler last edited by Mar 6, 2013, 7:29 PM Mar 6, 2013, 7:29 PM

                Try:

                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^([^.]*[^./])$ /$1.html [R=301,L]

                Mike.Goracke WebbyNabler 2 Replies Last reply Mar 6, 2013, 7:49 PM Reply Quote 0
                • WebbyNabler
                  WebbyNabler @TakeshiYoung last edited by Mar 6, 2013, 7:26 PM Mar 6, 2013, 7:26 PM

                  That caused the same "500 Internal Server Error" .......   😞

                  TakeshiYoung 1 Reply Last reply Mar 6, 2013, 7:29 PM Reply Quote 0
                  • TakeshiYoung
                    TakeshiYoung @WebbyNabler last edited by Mar 6, 2013, 7:20 PM Mar 6, 2013, 7:20 PM

                    Try my code without all the other redirects, and see if it works. If it does, then add back the other redirects one by one until everything works.

                    WebbyNabler 1 Reply Last reply Mar 6, 2013, 7:26 PM Reply Quote 0
                    • WebbyNabler
                      WebbyNabler @Mike.Goracke last edited by Mar 6, 2013, 7:18 PM Mar 6, 2013, 7:18 PM

                      Oh, and my site auditor is seeing it as a directory with a file in it???  Ugghhh....

                      1 Reply Last reply Reply Quote 0
                      • WebbyNabler
                        WebbyNabler @Mike.Goracke last edited by Mar 6, 2013, 7:17 PM Mar 6, 2013, 7:17 PM

                        Nope.  Didn't work.  I am seriously about to lose my mind with this....

                        TakeshiYoung 1 Reply Last reply Mar 6, 2013, 7:20 PM Reply Quote 0
                        • Mike.Goracke
                          Mike.Goracke @WebbyNabler last edited by Mar 6, 2013, 7:10 PM Mar 6, 2013, 7:10 PM

                          Maybe give this a whirl:

                          If URL does not contain a period or end with a slash

                          RewriteCond %{REQUEST_URI} !(.|/$)

                          append .html to requested URL

                          RewriteRule (.*) /$1.html [L]

                          WebbyNabler 2 Replies Last reply Mar 6, 2013, 7:18 PM Reply Quote 0
                          • WebbyNabler
                            WebbyNabler @TakeshiYoung last edited by Mar 6, 2013, 5:04 PM Mar 6, 2013, 5:02 PM

                            I get a server error when I do this?  Sooo confused...  Here is the htaccess changes I made.  FYI...I have removed the code you told me to put in there temporarily so the site's not down.  I attached the server error screenshot too...

                            Options +FollowSymlinks
                            RewriteEngine On

                            RewriteCond %{REQUEST_URI} ! .html$
                            RewriteCond %{REQUEST_URI} ! /$
                            RewriteRule ^(.*)$ $1.html

                            RewriteCond %{HTTP_HOST} ^hanneganconstructionllc.com [NC]
                            RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                            RewriteCond %{HTTP_HOST} ^www.hanneganconstructionllc.com [NC]
                            RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                            RewriteCond %{HTTP_HOST} ^hremodeling.com [NC]
                            RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                            RewriteCond %{HTTP_HOST} ^www.hremodeling.com [NC]
                            RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                            RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
                            RewriteRule ^index.html$ http://www.hanneganremodeling.com/ [R=301,L]

                            RewriteBase /
                            RewriteCond %{HTTP_HOST} ^hanneganremodeling.com$ [NC]
                            RewriteRule ^(.*)$ http://www.hanneganremodeling.com/$1 [R=301,L]

                            m9Kq8yJ

                            Mike.Goracke 1 Reply Last reply Mar 6, 2013, 7:10 PM Reply Quote 0
                            • TakeshiYoung
                              TakeshiYoung @WebbyNabler last edited by Mar 6, 2013, 4:46 PM Mar 6, 2013, 4:46 PM

                              You repeat this code a few times, maybe that's the problem? Pretty sure you only need it once:

                              RewriteEngine On
                              Options +FollowSymlinks
                              RewriteBase /

                              The line:

                              RewriteEngine On

                              Also only needs to be included once in an htaccess file. You may want to remove all the other instances.

                              Try adding this code at the very top, after the first "RewriteEngine On":

                              RewriteCond %{REQUEST_URI} ! .html$
                              RewriteCond %{REQUEST_URI} ! /$
                              RewriteRule ^(.*)$ $1.html

                              WebbyNabler 1 Reply Last reply Mar 6, 2013, 5:02 PM Reply Quote 0
                              • WebbyNabler
                                WebbyNabler @Mike.Goracke last edited by Mar 6, 2013, 3:29 PM Mar 6, 2013, 3:29 PM

                                Thanks Mike, you are awesome!  I actually was thinking to do that, but I was concerned that it might have some larger implications?

                                I also just resubmitted a sitemap so hopefully that "might" speed up the crawl process...

                                Thanks again!

                                1 Reply Last reply Reply Quote 0
                                • Mike.Goracke
                                  Mike.Goracke @WebbyNabler last edited by Aug 9, 2013, 6:35 PM Mar 6, 2013, 3:06 PM

                                  "I accidentally manually submitted the url to google and manually in submitted it to index and that when this issue began...."

                                  It sounds like you accidently added this URL to the index. You can follow the procedure outlined below to request Google remove the specific URL from the index:

                                  https://support.google.com/webmasters/bin/answer.py?hl=en&answer=59819

                                  I checked your site's structure using Screaming Frog and it does not appear that you are linking to any non-.html versions. If I perform a scan using one of your non-.html pages, it appears that it only links to itself.

                                  Since you have the 301 redirect in place, you can choose to wait it out and Google should correct things eventually; otherwise, requesting Google remove the URL is a faster... PERMANENT process.

                                  Good luck.

                                  Mike

                                  WebbyNabler 1 Reply Last reply Mar 6, 2013, 3:29 PM Reply Quote 1
                                  • WebbyNabler
                                    WebbyNabler @NakulGoyal last edited by Mar 6, 2013, 1:58 PM Mar 6, 2013, 1:58 PM

                                    No it's not a wordpress, it was created with Dreamweaver.  I didn't make sample and sample.html same page, but google is treating it that way....  I have implemented the 301, so I guess I just have to wait for a crawl

                                    Mike.Goracke 1 Reply Last reply Mar 6, 2013, 3:06 PM Reply Quote 0
                                    • WebbyNabler
                                      WebbyNabler @TakeshiYoung last edited by Mar 6, 2013, 1:54 PM Mar 6, 2013, 1:54 PM

                                      Thank you very for your input!  When I implement into my .htacces what you suggested I get a "Internet 500 Server Error" ?   Maybe it would help if I list what I currently have in my .htaccess  I had to redirect some old domains and did canonical redirects and default non .index....I hope this help, I am at my wit's end...  I also attached a screenshot of the webmaster warning... THANKS!!!

                                      Options +FollowSymlinks
                                      RewriteEngine On

                                      RewriteCond %{HTTP_HOST} ^hanneganconstructionllc.com [NC]
                                      RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                                      RewriteCond %{HTTP_HOST} ^www.hanneganconstructionllc.com [NC]
                                      RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                                      RewriteCond %{HTTP_HOST} ^hremodeling.com [NC]
                                      RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                                      RewriteCond %{HTTP_HOST} ^www.hremodeling.com [NC]
                                      RewriteRule ^(.*)$ http://hanneganremodeling.com/$1 [L,R=301]

                                      RewriteEngine on
                                      RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
                                      RewriteRule ^index.html$ http://www.hanneganremodeling.com/ [R=301,L]

                                      RewriteEngine On
                                      Options +FollowSymlinks
                                      RewriteBase /
                                      RewriteCond %{HTTP_HOST} ^hanneganremodeling.com$ [NC]
                                      RewriteRule ^(.*)$ http://www.hanneganremodeling.com/$1 [R=301,L]

                                      Options +FollowSymLinks
                                      RewriteEngine On
                                      RewriteBase /

                                      u1YvXLR

                                      TakeshiYoung 1 Reply Last reply Mar 6, 2013, 4:46 PM Reply Quote 0
                                      • NakulGoyal
                                        NakulGoyal @WebbyNabler last edited by Mar 6, 2013, 3:20 AM Mar 6, 2013, 3:20 AM

                                        Is this a wordpress based site ? What CMS are you using ? How were you able to get domain.com/sample and domain.com/sample.html be the same page ? Either way, canonical tag is the correct solution in this case. There's no need for a 301 and if you do 301 redirects, you are not really fixing the issue caused by your CMS System.

                                        I would therefore strongly advise to use the canonical tag. That's the intended use of that tag.

                                        WebbyNabler 1 Reply Last reply Mar 6, 2013, 1:58 PM Reply Quote 1
                                        • TakeshiYoung
                                          TakeshiYoung @WebbyNabler last edited by Mar 6, 2013, 1:18 AM Mar 6, 2013, 1:17 AM

                                          A canonical tag won't physically redirect you when you visit the page, it just lets the search engines know which is the right page to index.

                                          If you want to actually redirect using .htaccess, try using this code

                                          RewriteEngine On

                                          RewriteCond %{REQUEST_URI} ! .html$

                                          RewriteCond %{REQUEST_URI} ! /$

                                          RewriteRule ^(.*)$ $1.html

                                          WebbyNabler 1 Reply Last reply Mar 6, 2013, 1:54 PM Reply Quote 0
                                          • WebbyNabler
                                            WebbyNabler @TakeshiYoung last edited by Mar 6, 2013, 1:12 AM Mar 6, 2013, 1:12 AM

                                            I tried the canonical and when I enter the url without the .html, it doesn't resolve to the url with the .html extension.  I tried an .htaccess reirect...I am stumped, I can't get it to redirect automatically the the .html  I accidentally manually submitted the url to google and manually in submitted it to index and that when this issue began....

                                            TakeshiYoung NakulGoyal 2 Replies Last reply Mar 6, 2013, 3:20 AM Reply Quote 0
                                            • TakeshiYoung
                                              TakeshiYoung last edited by Mar 6, 2013, 12:21 AM Mar 6, 2013, 12:21 AM

                                              Add a canonical tag to your header so that Google/Bing knows which version of your page they should be indexing.

                                              You can also try looking into where the link to the non-html page is coming from. If it's an internal link, just change it so that Google doesn't continue to crawl it.

                                              WebbyNabler 1 Reply Last reply Mar 6, 2013, 1:12 AM Reply Quote 0
                                              • 1 / 1
                                              1 out of 22
                                              • First post
                                                1/22
                                                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

                                              • ycnetpro101

                                                Duplicate content in Shopify - subsequent pages in collections

                                                Hello everyone! I hope an expert in this community can help me verify the canonical codes I'll add to our store is correct. Currently, in our Shopify store, the subsequent pages in the collections are not indexed by Google, however the canonical URL on these pages aren't pointing to the main collection page (page 1), e.g. The canonical URL of page 2, page 3 etc are used as canonical URLs instead of the first page of the collections. I have the canonical codes attached below, it would be much appreciated if an expert can urgently verify these codes are good to use and will solve the above issues? Thanks so much for your kind help in advance!! -----------------CODES BELOW--------------- <title><br /> {{ page_title }}{% if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif %}{% if current_page != 1 %} – Page {{ current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}<br /></title>
                                                {% if page_description %} {% endif %} {% if current_page != 1 %} {% else %} {% endif %}
                                                {% if template == 'collection' %}{% if collection %}
                                                {% if current_page == 1 %} {% endif %}
                                                {% if template == 'product' %}{% if product %} {% endif %}
                                                {% if template == 'collection' %}{% if collection %} {% endif %}

                                                Intermediate & Advanced SEO | Nov 6, 2019, 8:55 AM | ycnetpro101
                                                0
                                              • Caro-O

                                                Home page suddenly dropped from index!!

                                                A client's home page, which has always done very well, has just dropped out of Google's index overnight!
                                                Webmaster tools does not show any problem. The page doesn't even show up if we Google the company name. The Robot.txt contains: Default Flywheel robots file User-agent: * Disallow: /calendar/action:posterboard/
                                                Disallow: /events/action~posterboard/ The only unusual thing I'm aware of is some A/B testing of the page done with 'Optimizely' - it redirects visitors to a test page, but it's not a 'real' redirect in that redirect checker tools still see the page as a 200. Also, other pages that are being tested this way are not having the same problem. Other recent activity over the last few weeks/months includes linking to the page from some of our blog posts using the page topic as anchor text. Any thoughts would be appreciated.
                                                Caro

                                                Intermediate & Advanced SEO | Jun 17, 2016, 2:16 PM | Caro-O
                                                0
                                              • marcandre

                                                Woocommerce SEO & Duplicate content?

                                                Hi Moz fellows, I'm new to Woocommerce and couldn't find help on Google about certain SEO-related things. All my past projects were simple 5 pages websites + a blog, so I would just no-index categories, tags and archives to eliminate duplicate content errors. But with Woocommerce Product categories and tags, I've noticed that many e-Commerce websites with a high domain authority actually rank for certain keywords just by having their category/tags indexed. For example keyword 'hippie clothes' = etsy.com/category/hippie-clothes (fictional example) The problem is that if I have 100 products and 10 categories & tags on my site it creates THOUSANDS of duplicate content errors, but If I 'non index' categories and tags they will never rank well once my domain authority rises... Anyone has experience/comments about this? I use SEO by Yoast plugin. Your help is greatly appreciated! Thank you in advance. -Marc

                                                Intermediate & Advanced SEO | Oct 5, 2016, 3:32 PM | marcandre
                                                1
                                              • WebServiceConsulting.com

                                                Dev Subdomain Pages Indexed - How to Remove

                                                I own a website (domain.com) and used the subdomain "dev.domain.com" while adding a new section to the site (as a development link). I forgot to block the dev.domain.com in my robots file, and google indexed all of the dev pages (around 100 of them). I blocked the site (dev.domain.com) in robots, and then proceeded to just delete the entire subdomain altogether. It's been about a week now and I still see the subdomain pages indexed on Google. How do I get these pages removed from Google? Are they causing duplicate content/title issues, or does Google know that it's a development subdomain and it's just taking time for them to recognize that I deleted it already?

                                                Intermediate & Advanced SEO | Apr 30, 2014, 10:56 AM | WebServiceConsulting.com
                                                0
                                              • desmond.liang

                                                Our login pages are being indexed by Google - How do you remove them?

                                                Each of our login pages show up under different subdomains of our website. Currently these are accessible by Google which is a huge competitive advantage for our competitors looking for our client list. We've done a few things to try to rectify the problem: -  No index/archive to each login page Robot.txt to all subdomains to block search engines gone into webmaster tools and added the subdomain of one of our bigger clients then requested to remove it from Google (This would be great to do for every subdomain but we have a LOT of clients and it would require tons of backend work to make this happen.) Other than the last option, is there something we can do that will remove subdomains from being viewed from search engines? We know the robots.txt are working since the message on search results say: "A description for this result is not available because of this site's robots.txt – learn more." But we'd like the whole link to disappear.. Any suggestions?

                                                Intermediate & Advanced SEO | Apr 23, 2013, 9:51 AM | desmond.liang
                                                1
                                              • knielsen

                                                Copying my Facebook content to website considered duplicate content?

                                                I write career advice on Facebook on a daily basis. On my homepage users can see the most recent 4-5 feeds (using FB social media plugin). I am thinking to create a page on my website where visitors can see all my previous FB feeds. Would this be considered duplicate content if I copy paste the info, but if I use a Facebook social media plugin then it is not considered duplicate content? I am working on increasing content on my website and feel incorporating FB feeds would make sense. thank you

                                                Intermediate & Advanced SEO | Nov 22, 2012, 7:20 AM | knielsen
                                                0
                                              • digisavvy

                                                There's a website I'm working with that has a .php extension. All the pages do. What's the best practice to remove the .php extension across all pages?

                                                Client wishes to drop the .php extension on all their pages (they've got around 2k pages). I assured them that wasn't necessary. However, in the event that I do end up doing this what's the best practices way (and easiest way) to do this? This is also a WordPress site. Thanks.

                                                Intermediate & Advanced SEO | Oct 27, 2011, 4:44 PM | digisavvy
                                                0
                                              • ContentWriterMicky

                                                How to resolve Duplicate Page Content issue for root domain & index.html?

                                                SEOMoz returns a Duplicate Page Content error for a website's index page, with both domain.com and domain.com/index.html isted seperately. We had a rewrite in the htacess file, but for some reason this has not had an impact and we have since removed it. What's the best way (in an HTML website) to ensure all index.html links are automatically redirected to the root domain and these aren't seen as two separate pages?

                                                Intermediate & Advanced SEO | Oct 7, 2012, 10:05 AM | ContentWriterMicky
                                                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
                                              • Digital Marketers
                                              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
                                              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.