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. Is this all that is needed for a 'canonical' tag?

    Is this all that is needed for a 'canonical' tag?

    Intermediate & Advanced SEO
    5 2 157
    • 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.
    • infinart
      infinart last edited by

      Hello,

      I have a Joomla site. I have put in a plugin to make the page source show: eg.

      <link href="[http://www.ditalia.com.au/designer-fabrics-designer-fabric-italian-material-and-french-lace](view-source:http://www.ditalia.com.au/designer-fabrics-designer-fabric-italian-material-and-french-lace)" rel="<a class="attribute-value">canonical</a>" />
      

      Is this all that is need to tell the search engines to ignore the any other links or indexed pages with a url which is created automatically by the system before the SEF urls are initiated?

      1 Reply Last reply Reply Quote 0
      • customerparadigm.com
        customerparadigm.com last edited by

        Carl -

        Yes, in order to avoid duplicate content, you can use the Rel=canonical tag.

        Usually the tag comes first, and then the href after it like this:

        <link rel="<a rel="nofollow" target="_blank">canonical" href="<a rel="nofollow" target="_blank">http://www.ditalia.com.au/designer-fabrics-designer-fabric-italian-material-and-french-lace</a>" /></link rel="<a>

        It should work the way you did it too, although some systems might throw an error if the positions are reversed.  I saw this previously with an SEO tool and the img src ALT tag was in a non-usual spot.

        Here are more resources on the canonical tag, here on SEO Moz:

        Confused about Rel Canonical? http://moz.com/blog/rel-confused-answers-to-your-rel-canonical-questions

        Moz How To Guide, http://moz.com/learn/seo/canonicalization

        Finally, if you want to delve in to an article by Google's Matt Cutts, here's a link where he discusses it in detail:

        http://www.mattcutts.com/blog/canonical-link-tag/

        Hope this helps!
        -- Jeff

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

          Thanks Jeff. It's sort of helps... now I am uncertain if the plugin is working properly though.

          Can anyone clear this up for me?

          1 Reply Last reply Reply Quote 0
          • customerparadigm.com
            customerparadigm.com last edited by

            Carl -

            I just went to the page (see screenshot), and did a view source.

            It does look like the rel canonical tag is there:

            screenshot-designer-fabrics-designer-fabric-italian-material-and-french-lace.jpg rel-canonical-view-source.gif

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

              Thanks Jeff, it definitely is. I guess having the "rel=" at the end and not the start doesn't really matter.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Why isn't the rel=canonical tag working?
                GlobeRunner
                GlobeRunner
                0
                3
                446

              • Is a Rel Canonical Sufficient or Should I 'NoIndex'
                LesleyPaone
                LesleyPaone
                0
                5
                210

              • Mixing 'rel canonical' and 'rel alternate'
                Vizergy
                Vizergy
                0
                2
                147

              • Will Canonical tag on parameter URLs remove those URL's from Index, and preserve link juice?
                StreamlineMetrics
                StreamlineMetrics
                0
                2
                113

              • Hide H1 tags on pages. Don't chuckle-Need assistance.
                ballanrk
                ballanrk
                0
                4
                619

              • Do I need to use canonicals if I will be using 301's?
                BlueprintMarketing
                BlueprintMarketing
                0
                6
                382

              • Rel Alternate tag and canonical tag implementation question
                Amiee
                Amiee
                0
                4
                7.5k

              • Do I need a canonical tag on the 404 error page?
                Francisco_Meza
                Francisco_Meza
                0
                4
                1.2k

              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