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. How to Remove Joomla Canonical and Duplicate Page Content

    How to Remove Joomla Canonical and Duplicate Page Content

    Intermediate & Advanced SEO
    7 3 2.8k
    • 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.
    • deskstudio
      deskstudio last edited by

      I've  attempted to follow advice from the Q&A section.

      Currently on the site www.cherrycreekspine.com, I've edited the .htaccess file to help with 301s - all pages redirect to www.cherrycreekspine.com.

      Secondly, I'd added the canonical statement in the header of the web pages.

      I have cut the Duplicate Page Content in half ... now  I have a remaining 40 pages to fix up.

      This is my practice site to try and understand what SEOmoz can do for me.

      I've looked at some of your videos on Youtube ... I feel like I'm scrambling around to the Q&A and the internet to understand this product. I'm reading the beginners guide.... any other resources would be helpful.

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

        You need to code it again:

        In the HTML I can see on Line 15:

        rel="canonical" href="http://www.cherrycreekspine.com<?php echo parse_url($canonical, PHP_URL_PATH); ?>"/>

        You need to write everything after href="

        and before "/>

        in php; probably:

        <link rel="canonical" href="<?php echo="" '<a="" class=" " href="http://www.cherrycreekspine.com%26lt%3B/?php%20echo%20parse_url($canonical,%20PHP_URL_PATH);%20?%3E" target="_blank">http://www.cherrycreekspine.com<'.parse_url($canonical, PHP_URL_PATH); ?>"/></link rel="canonical" href="<?php>

        If it doesnt sort it, post again and I'll try to help you further.

        Also, you either apply canonical values or remove duplicate content (the post title is slightly confused, I think) 🙂

        deskstudio 3 Replies Last reply Reply Quote -1
        • deskstudio
          deskstudio @IPROdigital last edited by

          Mr., I replaced the line in the html but no change. I'm completely new to this, so please forgive me. All of these concepts are new to me.

          Any other thoughts or direction? I looked at one of the Whiteboard videos... buy over my head.

          Thanks in advance... Todd

          1 Reply Last reply Reply Quote 0
          • deskstudio
            deskstudio @IPROdigital last edited by

            Hold on .... not all the copy was properly entered by me... I'll fix and retest.

            1 Reply Last reply Reply Quote 0
            • deskstudio
              deskstudio @IPROdigital last edited by

              Yikes... so, I checked the template html file and all including PHP info is there...

              View page source did not show all the code.

              So, still stuck.

              IPROdigital 1 Reply Last reply Reply Quote 0
              • IPROdigital
                IPROdigital @deskstudio last edited by

                View page source shows HTML. If I can't see the PHP file i.e. which generates the HTML it's impossible for me to know how. I'm not very clear on this. You can PM the file to me if you want - but don't send me any passwords please. 🙂

                1 Reply Last reply Reply Quote 0
                • Cyrus-Shepard
                  Cyrus-Shepard last edited by

                  Hi Todd,

                  Oh no, looks like all your canonicals are pointing towards the homepage....

                  <link rel="<a class="attribute-value">canonical</a>" href="[http://www.cherrycreekspine.com<](view-source:http://www.cherrycreekspine.com%3C/)"/>
                  

                  Also looks like there's an extra carrot "<" at the end of the URL. Looks like it's coming from the wonky code.

                  Regardless, this isn't what you want. This basically tells search engines that every page is a canonical of the homepage - and that all these other pages aren't important on their own. It's likely search engines will start to drop these pages out of their index unless this tag is removed immediately. Reminds me of Dr. Pete's canonical nightmares.

                  In short... remove that canonical ASAP. It's probably better to have some duplicate content than a sitewide canonical that points to your homepage.

                  Have you tried the Joomla Canonicalisation Plugin? Haven't tried it myself, but it might be smidgen easier than trying to code the php yourself. You can find it here: http://extensions.joomla.org/extensions/site-management/seo-a-metadata/url-canonicalization-/5355

                  My guess is you can completely remove whatever manual canonical code you wrote, and the plugin will take care of the rest.

                  Remember, when the code is working properly, each page with point to itself (without extra parameters and so on) the way a proper canonical should.

                  Best of luck!

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  • Pages with Duplicate Page Content (with and without www)
                    Andy.Drinkwater
                    Andy.Drinkwater
                    0
                    3
                    181

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

                  • Joomla Duplicate Page content fix for mailto component?
                    grays0180
                    grays0180
                    0
                    3
                    359

                  • My canonical tags all appear to be in place. Why does SEOmoz keep telling me I have duplicate titles and page content?
                    tbenson79
                    tbenson79
                    0
                    7
                    781

                  • Get Duplicate Page content for same page with different extension ?
                    Matthew_Edgar
                    Matthew_Edgar
                    0
                    2
                    454

                  • Duplicate content - canonical vs link to original and Flash duplication
                    AlanMosley
                    AlanMosley
                    0
                    2
                    520

                  • How do I fix the error duplicate page content and duplicate page title?
                    rtavs
                    rtavs
                    0
                    4
                    467

                  • Removing Duplicate Page Content
                    Flipmedia112
                    Flipmedia112
                    0
                    8
                    2.7k

                  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