The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Removed .html - Now Get Duplicate Content

    Removed .html - Now Get Duplicate Content

    Technical SEO Issues
    6 2 108
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MrPenguin
      MrPenguin last edited by

      Hi there,

      I run a wordpress website and have removed the .html from my links.

      Moz has done a crawl and now a bunch of duplicated are coming up.

      Is there anything I need to do in perhaps my htaccess to help it along?

      Google appears to still be indexing the .html versions of my links

      1 Reply Last reply Reply Quote 0
      • Martijn_Scheijbeler
        Martijn_Scheijbeler last edited by

        Hi Mark,

        How did you remove the .html from the links? That's quite crucial to know to see how you can fix this issue.

        MrPenguin 1 Reply Last reply Reply Quote 0
        • MrPenguin
          MrPenguin @Martijn_Scheijbeler last edited by

          I should clarify, I have a plugin that dynamically creates link on a single page I have.

          http://cdkeyprices.com/product/Batman-Arkham-Origins-CD-Key

          It was in this plugin that I removed the .html

          The other areas of the site which were under Wordpress control, already had the .html removed some time ago and are not having issues.

          Perhaps this might be a little harder then I originally thought!

          Will Google eventually drop the old links?

          Martijn_Scheijbeler 1 Reply Last reply Reply Quote 0
          • Martijn_Scheijbeler
            Martijn_Scheijbeler @MrPenguin last edited by

            Google will probably eventually drop the old links. But it's probably a good idea to add a redirect to your .htaccess file to redirect all links ending on .html.

            MrPenguin 1 Reply Last reply Reply Quote 0
            • MrPenguin
              MrPenguin @Martijn_Scheijbeler last edited by

              Ive just spent the past 30 minutes looking into it...care to give me a few hints on what I need to put in my .htaccess 😛

              Martijn_Scheijbeler 1 Reply Last reply Reply Quote 0
              • Martijn_Scheijbeler
                Martijn_Scheijbeler @MrPenguin last edited by

                Handle this with care and I'm not responsible for breaking anything on your site.

                RewriteRule ^(.*).html$ http://new.site.com/$1 [R=301,NC,L]

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                • Why are some pages now duplicate content?
                  AlanMosley
                  AlanMosley
                  0
                  3
                  97

                • Duplicate Content Vs No Content
                  MoosaHemani
                  MoosaHemani
                  0
                  7
                  404

                • How to get rid of duplicate content
                  Cyrus-Shepard
                  Cyrus-Shepard
                  1
                  7
                  383

                • Help removing duplicate content from the index?
                  ccorlando
                  ccorlando
                  0
                  3
                  421

                • Getting rid of duplicate content with rel=canonical
                  RiceMedia
                  RiceMedia
                  0
                  4
                  758

                • 50+ duplicate content pages - Do we remove them all or 301?
                  EGOL
                  EGOL
                  0
                  4
                  831

                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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy