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. Duplicate content

    Duplicate content

    Technical SEO Issues
    12 3 709
    • 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 @AdeLewis last edited by

      Hi Ade,

      Thanks for the speedy reply.

      I have now implemented this and works fantastic on the http://www.mydomain.com/

      Thank you very much.

      There is another issue however, i hope i can make sense here, here goes:

      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

      AdeLewis Paul78 JaspalX 9 Replies Last reply Reply Quote 0
      • AdeLewis
        AdeLewis @Paul78 last edited by

        Hi Gary.

        Have you tried visiting the url http://www.mydomain.com/football-teams/index.php to see if it now resolves to http://www.mydomain.com/football-teams/ ?

        If it does then the issue is fixed, the next time SEOMoz crawls your site the error will dissapear.

        Cheers.

        Ade.

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

          Hi Ade,

          Yes, i tested http://www.mydomain.com/football-teams//index.php however it did not resolve to http://www.mydomain.com/football-teams/

          Any ideas?

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

            In that case you can just add a 301 redirect in to your .htaccess file below the code you added earlier.

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

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

              Do you think that's practical to do that?

              As i will need to do a 301 on literally every page if i don't want to show the /index.php

              Is this what seomoz.org website does? for example:

              http://www.seomoz.org/community

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

                Ahhhh. No definitely not practical, I thought that it was just the one url.

                Are you using a content management system for your site such as Joomla?

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

                  We are using a CMS, its called WebEdition, is there a technical question i should ask them in what i need to do?

                  Kind Regards

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

                    Hi Gary,

                    That one is a bit beyond me I'm afraid and I am not familiar with WebEdition at all.

                    With most CMS there are normally either built-in or add-on extensions to help with re-writing your urls but you need to be really careful that you don't end up with a completely new set of urls that don't match either of your originals.

                    A .htaccess rewrite rule may be your best option but I don't know what the coding for it would be.

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

                      Hi Ade,

                      Thanks for all your help.

                      I will post a new question on the Q&A Forum regarding the .htaccess rule.

                      Kind Regards

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

                        Hi Gary,

                        Here's some code from an htaccess file I've used before that solves the issue you've got with index.php at the end of all your urls:

                        #remove /index.php and ensure admin works okay

                        RewriteCond %{REQUEST_URI} !^/administrator

                        RewriteCond %{THE_REQUEST} ^.*/index.php\ HTTP/

                        RewriteRule ^(.*)index.php$ /$1 [R=301,L]

                        notice the line that contains ^/administrator , in Joomla, admin login is usuall on http://site.com/administrator/index.php

                        so, removing the index.php from the admin url would prevent any access to the admin screens! If your cms has a similar url, be sure to replace 'administrator' with the relevant url.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Database driven content producing false duplicate content errors
                          nickcargill
                          nickcargill
                          0
                          5
                          171

                        • Is this duplicate content when there is a link back to the original content?
                          JoLindahl91
                          JoLindahl91
                          2
                          6
                          133

                        • Duplicate content or Duplicate page issue?
                          Kurt_Steinbrueck
                          Kurt_Steinbrueck
                          0
                          2
                          106

                        • Duplicate Content
                          BlueprintMarketing
                          BlueprintMarketing
                          0
                          2
                          76

                        • Container Page/Content Page Duplicate Content
                          ProductiveEdge
                          ProductiveEdge
                          1
                          4
                          194

                        • Similar Content vs Duplicate Content
                          Izoox
                          Izoox
                          0
                          4
                          363

                        • Forget Duplicate Content, What to do With Very Similar Content?
                          johnshearer
                          johnshearer
                          0
                          2
                          568

                        • Duplicate content
                          shedontdiet
                          shedontdiet
                          0
                          9
                          866

                        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