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. Intermediate & Advanced SEO
    4. Duplicate Content Issue

    Duplicate Content Issue

    Intermediate & Advanced SEO
    5 5 524
    • 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.
    • Ideas-Money-Art
      Ideas-Money-Art last edited by

      Why do URL with .html or index.php at the end are annoying to the search engine? I heard it can create some duplicate content but I have no idea why? Could someone explain me why is that so?

      Thank you

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

        There is also the problem with http://www.example.com and http:/example.com - they also generate duplicate content.

        What you should do?

        First - solve the http://www.example vs http://example issue
        Edit your .htaccess file (if you don't have it, create one). Inside this file you need to input:

        RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 [R=301,L]
        (where example.com is your website

        Second - solve the index.html duplicate content

        You need to include in the index.html file the follow metag inside the section:

        This tag will tell google to forget the index.html and focus at www.example.com. So you will avoid the duplicate content without any problem

        I hope I could help you.

        Vizergy 1 Reply Last reply Reply Quote 2
        • Vizergy
          Vizergy @Naghirniac last edited by

          Agreed

          1 Reply Last reply Reply Quote 0
          • Vahe.Arabian
            Vahe.Arabian last edited by

            If there is the same page with the urls domain.com/seo & domain.com/seo.htm for this is what can be considered as duplicate content. With or without (better without) there should only be one version of the URL, to not split the link juice passing through. Hope this helps, Vahe

            1 Reply Last reply Reply Quote 1
            • blacey
              blacey last edited by

              Using this as an example: If google showed duplicate content for http://www.domain.com/seo.html  and http://www.domain.com/seo then you would want a 301 .htaccess redirect so anyone accessing the http://www.domain.com/seo.htm version of the page is automatically sent to http://www.domain.com/seo.

              You can use the following in your .htaccess file.

              RewriteRule ^/seo.html$ http://www.domain.com/seo/? [R=301,NC,L]

              The benefit to having no file extension (.html) on the end of your URLs is it allows you to change the underlying framework or your website or even the programming language without the need for adding redirects each time you change (provided the website structure remains the same)

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Duplicate content issue
                LoganRay
                LoganRay
                0
                8
                196

              • Duplicate content - how to diagnose duplicate content from another domain before publishing pages?
                Chemometec
                Chemometec
                0
                7
                141

              • Potential Pagination Issue/ Duplicate content issue
                PeteC12
                PeteC12
                0
                4
                79

              • Duplicate Content Issues :(
                Kingof5
                Kingof5
                0
                5
                116

              • Duplicate content within sections of a page but not full page duplicate content
                J_Sinclair
                J_Sinclair
                0
                3
                112

              • Duplicate content on the same page--is this an issue?
                Andropenis_Australia
                Andropenis_Australia
                0
                2
                291

              • Issue with duplicate content in blog
                GeorgeAndrews
                GeorgeAndrews
                0
                4
                302

              • Diagnosing duplicate content issues
                Dr-Pete
                Dr-Pete
                0
                5
                394

              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