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. On-Page / Site Optimization
    4. Quick and easy Joomla 1.5 Duplicate content fix?

    Quick and easy Joomla 1.5 Duplicate content fix?

    On-Page / Site Optimization
    5 2 3.2k
    • 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.
    • Gaveltek-173238
      Gaveltek-173238 last edited by

      www.massduitrialalwyers.com has a TON of duplicate content based on the way joomla 1.5 uses articles. Do you have a tried and true method to eliminate (automated would be preferred) the issues>? if not, might you suggest a plug in that takes care of the rel canonical?
      Cheers

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

        I found somewhere a tip to put some code in the head.php file of your template (sorry can't find it at the mo, but I'm sure some Googling will discover it for you).

        I ended up putting this in my head.php  (which I found here: templates/[MY TEMPLATE NAME]/blocks/head.php) BTW I didn't want the trailing slash in my URL - you'd need to tweak this if you do want it.

        But you could probably get away with something simpler, there's some discussion about it here: http://www.brucerick.com/joomlas-sh404sef-and-canonical-links/

        Oh and feel free to improve my php/regex...I'm no expert 😉

        Gaveltek-173238 1 Reply Last reply Reply Quote 2
        • Gaveltek-173238
          Gaveltek-173238 @JaspalX last edited by

          This code you posted seems to be working wonderfully. The link you posted is a thread to a plugin we dont use, but I so very appreciate your time. I would say you are doing just fine (regarding your comment about you not being and "expert") Thanks again!

          JaspalX Gaveltek-173238 2 Replies Last reply Reply Quote 1
          • JaspalX
            JaspalX @Gaveltek-173238 last edited by

            Thanks Todd, you're very kind. Might be worth marking my response as a 'helpful answer' or the question as 'answered' since it still looks unanswered.

            1 Reply Last reply Reply Quote 0
            • Gaveltek-173238
              Gaveltek-173238 @Gaveltek-173238 last edited by

              Done, done, and done. I hope to work together again soon.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • How do I fix my portfolio causing duplicate content issues?
                HonestSEOStudio
                HonestSEOStudio
                0
                8
                201

              • Hi - How do you get rid of duplicate content that was accidentally created on a tag url? For example, when I published a new article, the content was duplicated on: /posts/tag/lead-generation/
                MikeRoberts
                MikeRoberts
                0
                4
                82

              • Duplicate content, which seems not to be duplicate :S
                Raymo
                Raymo
                0
                7
                127

              • How Can I Fix Adobe Bridge Photo Galleries and Duplicate Content?
                0
                1
                193

              • How to fix joomla duplicate page titles??
                RicardoLG
                RicardoLG
                0
                11
                1.8k

              • Duplicated Content with joomla multi language website
                menelik
                menelik
                0
                5
                1.6k

              • My website is saying I have duplicate page content and page title. How do I fix it?
                SEOKeith
                SEOKeith
                0
                4
                505

              • Duplicate content issues with products page 1,2,3 and so on
                Essentia
                Essentia
                0
                4
                668

              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