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 Help

    Duplicate Content Help

    Intermediate & Advanced SEO
    8 4 588
    • 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.
    • Paul78
      Paul78 last edited by

      seomoz tool gives me back duplicate content on both these URL's

      http://www.mydomain.com/football-teams/

      http://www.mydomain.com/football-teams/index.php

      I want to use http://www.mydomain.com/football-teams/ as this just look nice & clean.

      What would be best practice to fix this issue?

      Kind Regards

      Eddie

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

        Check your pages for links that access both. you musthave a link to http://www.mydomain.com/football-teams/index.php in the site somewhere

        Paul78 1 Reply Last reply Reply Quote 1
        • Paul78
          Paul78 @AlanMosley last edited by

          Hi Alan,

          Thanks for the quick response.

          Yes i have noticed that there is 1 internal link linking to:

          http://www.mydomain.com/football-teams/index.php      D'OH!

          Anyway, i will get that fixed, thanks for the suggestion.

          I was wondering, lets say there was an external link linking to http://www.mydomain.com/football-teams/index.php

          Is it possible it re-directs to http://www.mydomain.com/football-teams/ without using a 301, as i don't think its practical to do a 301 on all these URL's?

          Kind Regards

          Highland AlanMosley Paul78 irvingw 5 Replies Last reply Reply Quote 0
          • Highland
            Highland @Paul78 last edited by

            Depends how your site is structured. I would highly recommend a 301 from index.php to / but either all your pages need to be named index.php for a .htaccess to work or you would need some meticulous work.

            1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley @Paul78 last edited by

              Yes you can, i build my sites in MVC now days where you have SEO freindly URL's with no file names, but what I used to do was change the default file name to somthing no one will ever guess, say seo.aspx or seo.php. so no one will know the file name and not create a link to the filename. Probably a bit overkill, but I like to future proof things

              1 Reply Last reply Reply Quote 0
              • Paul78
                Paul78 @Paul78 last edited by

                Hi Highland,

                What is the code to do a 301 on all pages that has index.php to rewrite to /

                Kind Regards

                1 Reply Last reply Reply Quote 0
                • AlanMosley
                  AlanMosley @Paul78 last edited by

                  It would only be the default file name that is the problem as its the only one can be accesed by /folderonly/

                  1 Reply Last reply Reply Quote 0
                  • irvingw
                    irvingw @Paul78 last edited by

                    Options +FollowSymLinks
                    RewriteCond %{THE_REQUEST} ^./index.php
                    RewriteRule ^(.
                    )index.php$ http://www.yoursite.com/$1 [R=301,L]

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Site architecture, inner link strategy and duplicate or thin content HELP :)
                      0
                      1
                      59

                    • How to find duplicate content, boilerplate content (repeated content) for entire website?
                      Alick300
                      Alick300
                      0
                      3
                      110

                    • Duplicate Content That Isn't Duplicated
                      LoganRay
                      LoganRay
                      0
                      5
                      140

                    • Complicated Duplicate Content Question...but it's fun, so please help.
                      DmitriiK
                      DmitriiK
                      0
                      4
                      128

                    • Duplicate content, the distrubutors are copying the content of the manufacturer
                      CommT
                      CommT
                      0
                      8
                      184

                    • Avoiding Duplicate Content with Used Car Listings Database: Robots.txt vs Noindex vs Hash URLs (Help!)
                      Everett
                      Everett
                      0
                      10
                      2.0k

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

                    • Need help with huge spike in duplicate content and page title errors.
                      MoosaHemani
                      MoosaHemani
                      0
                      3
                      116

                    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