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. Proper use and coding of rel = "canonical" tag

    Proper use and coding of rel = "canonical" tag

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

      I'm working on a site that has pages for many wedding vendors. There are essentially 3 variations of the page for each vendor with only slightly different content, so they're showing up as "duplicate content" in my SEOmoz Campaign. Here's an example of the 3 variations:

      http://www.weddingreportsma.com/MA-wedding.cfm/vendorID/4161

      http://www.weddingreportsma.com/MA-wedding.cfm?vendorID=4161&action=messageWrite

      http://www.weddingreportsma.com/MA-wedding.cfm?vendorID=4161&action=writeReview

      Because of this, we placed a rel="canoncial" tag in the second 2 pages to try to fix the problem. However, the coding does not seem to validate in the w3 html validator. I can't say I understand html well enough to understand the error the validator is pointing out.

      We also added a the following to the second 2 types of pages

      <meta name="robots" content="noindex">
      

      Am I employing this tag correctly in this case? Here is a snippet of the code below.

      <html>
      <head>
      
      	<title>Reviews on Astonishing Event, Inc from Somerset MAtitle>
      	<link rel="stylesheet" type="text/css" href="[/includes/style.css](view-source:http://www.weddingreportsma.com/includes/style.css)">
      <link href="[http://www.weddingreportsma.com/MA-wedding.cfm/vendorID/4161](view-source:http://www.weddingreportsma.com/MA-wedding.cfm/vendorID/4161)" rel="canonical" />
      
      

      <meta name="robots" content="noindex">
      <meta name="keywords" content="Astonishing Event, Inc, Somerset Massachusetts, Massachusetts Wedding Wedding Planners Directory, Massachusetts weddings, wedding Massachusetts ">
      <meta name="description" content="Get information and read reviews on Astonishing Event, Inc from Somerset MA. Astonishing Event, Inc appears in the directory of Somerset MA wedding Wedding Planners on WeddingReportsMA.com.">

      <script src="[http://www.google-analytics.com/urchin.js](view-source:http://www.google-analytics.com/urchin.js)" type="text/javascript">script>
      <script type="text/javascript">
      _uacct = "UA-173959-2";
      urchinTracker();
      script>
      

      head>

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

        The canonical code is ok, but the with robots noindex it won't work. You cannot redirect something that is not indexed. Move robots tag and you shall be fine.

        jeffreytrull1 1 Reply Last reply Reply Quote 1
        • jeffreytrull1
          jeffreytrull1 @sesertin last edited by

          Are you saying that I should remove the robots noindex tag altogether? If I do that, the pages with the canonical code will still show up in G, right?

          If yes, Is there any alterative if I don't want that to happen?

          Thanks for the help!

          sesertin jeffreytrull1 2 Replies Last reply Reply Quote 0
          • sesertin
            sesertin @jeffreytrull1 last edited by

            No, if you remove it page will not show up as canonical element indicates to google that you do not want the page it is paleced on to rank, but it is still able to pass link juice. It is like a 301 redirect, with the difference that users are still able to read the pae content on the sepcific url. Here's a video by Matt Cutts: http://www.youtube.com/watch?v=Cm9onOGTgeM

            1 Reply Last reply Reply Quote 2
            • jeffreytrull1
              jeffreytrull1 @jeffreytrull1 last edited by

              Thanks for your help, I get it now!

              In addition to your video, I also found a post on Matt Cutts' blog that answers it:

              http://googlewebmastercentral.blogspot.com/2009/12/handling-legitimate-cross-domain.html

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Cross Domain Rel Canonical tags vs. Rel Canonical Tags for internal webpages
                VanguardCommunications
                VanguardCommunications
                0
                5
                1.2k

              • Crawl Issue Found: No rel="canonical" Tags
                David-Kley
                David-Kley
                0
                4
                1.1k

              • When is it recommended to use a self referencing rel "canonical"?
                JaneCopland
                JaneCopland
                0
                5
                13.3k

              • Using unique content from "rel=canonical"ized page
                Dr-Pete
                Dr-Pete
                0
                4
                149

              • Is it ok to add rel=CANONICAL into the desktop version on top of the rel="alternate" Tag (Mobile vs Desktop version)
                Ideas-Money-Art
                Ideas-Money-Art
                0
                3
                172

              • How use Rel="canonical" for our Website
                Dr-Pete
                Dr-Pete
                0
                6
                159

              • Using "rel canonical" with multiple sites
                Dr-Pete
                Dr-Pete
                0
                3
                352

              • To "Rel canon" or not to "Rel canon" that is the question
                Dr-Pete
                Dr-Pete
                0
                10
                728

              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