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
              • Syntax: 'canonical' vs "canonical" (Apostrophes or Quotes) does it matter?
                Alick300
                Alick300
                0
                2
                77

              • Original Source Tag or Canonical Tag for News Publishers?
                Carson-Ward
                Carson-Ward
                0
                2
                535

              • Pagination and View All Pages Question. We currently don't have a canonical tag pointing to View all as I don't believe it's a good user experience so how best we deal with this.
                PeteC12
                PeteC12
                0
                3
                117

              • Cross Domain Rel Canonical tags vs. Rel Canonical Tags for internal webpages
                VanguardCommunications
                VanguardCommunications
                0
                5
                1.2k

              • Is it a problem that Google's index shows paginated page urls, even with canonical tags in place?
                94501
                94501
                0
                3
                249

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

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

              • Do I need to use canonical tags if I'm 301 redirecting pages?
                RobertFisher
                RobertFisher
                0
                2
                423

              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