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. Web Design
    4. Correct Canonical Reference

    Correct Canonical Reference

    Web Design
    8 3 615
    • 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.
    • dimanyc
      dimanyc last edited by

      Aloha,

      This is probably a noob question, but here we go:

      I got a CMS e-commerce, which does not allow static "rel=canonical" declaration in the header and can only work with third-party modules (xml packages) that append "rel=canonical" to all pages dynamic pages within the URL. As a result, I have pages I'm declaring incomplete rel="canonical" as such:

      Instead of:

      rel="canonical" src="www.domainname.com/category.aspx"

      I get:

      rel="canonical" src="/category.aspx"

      Coincidentally (or not), after the implementation of the canonical tag, pages that were continuously increasing in rankings started dropping, and, within a week, disappeared from the index completely.

      Could the drop be a result of my canonical links pointing to incomplete URLs? If so, by fixing this issue, do I stand a chance of recovering my pages' SERPs?

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

        Can you check to make sure those pages are still indexed by Google?  If the pages that were indexed are no longer indexed, then your canonical links have interfered with the ranking.

        dimanyc 1 Reply Last reply Reply Quote 0
        • dimanyc
          dimanyc @mytouchoftech last edited by

          As I mentioned, right after the implementation, some of the landing pages I optimized disappeared from the index completely, some began dropping.

          1 Reply Last reply Reply Quote 0
          • Dr-Pete
            Dr-Pete last edited by

            I haven't specifically tested the impact of relative URLs, but to the best of my knowledge, all canonical tags should be absolute URLs (including "http://"). I would've figured Google would just ignore the incomplete tags, at worst, but it's certainly possible they're attributing them incorrectly.

            Since you know you made the change and that they pages have de-indexed, I'd definitely fix the issue, even if it's on a few test pages (not sure how difficult the implementation is).

            One note - this is probably just a typo in your question, but it's href="", not src="" in the canonical tag. Google's reference page on the tag is actually pretty good:

            http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

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

              Thanks for the link!

              It says that canonical CAN be a relative path, and that Google will relate the path the the base URL _(section:"Can I use a relative path to specify the canonical, such as ?"). _

              I will be posting my results here. Let's see if pages get re-indexed and recovered in SERPs. Hope this helps someone who is have a similar issue.

              Dr-Pete 1 Reply Last reply Reply Quote 0
              • Dr-Pete
                Dr-Pete @dimanyc last edited by

                Sorry, I could've sworn they recommended not using relative paths somewhere, but now I can't find that reference. I'd just make doubly sure they're resolving correctly. Given that these pages disappeared completely from the index, it's hard to believe the canonical tag addition was just an accident. You always have to start with what you know, and you know this changed.

                dimanyc Dr-Pete 2 Replies Last reply Reply Quote 0
                • dimanyc
                  dimanyc @Dr-Pete last edited by

                  Absolutely!

                  What gets me wondering is that only two pages have been removed from the index and do not appear in 1-1000 search results, others just dropped in rankings. Maybe, the two "most optimized" pages with most content and links got most "attention" from Google and got removed first.

                  1 Reply Last reply Reply Quote 0
                  • Dr-Pete
                    Dr-Pete @Dr-Pete last edited by

                    It's possible that the canonical timing was just a coincidence and something deeper is going on, but I look at it this way - if it's easy to fix, fix it, and then you'll know for sure. It can be really tough to separate technical indexation problems from penalties.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Okay to have additional attributes in canonical tag?
                      Dalerio-Consulting
                      Dalerio-Consulting
                      1
                      2
                      55

                    • How to know if a wordpress theme is coded correctly for Seo
                      BlueprintMarketing
                      BlueprintMarketing
                      1
                      9
                      5.1k

                    • Moz webfonts do not render correctly ...
                      inlinear
                      inlinear
                      0
                      4
                      128

                    • rel="canonical" Tags Mistake
                      jesse-landry
                      jesse-landry
                      0
                      5
                      222

                    • Duplicate Content & Canonicals
                      sbaylor
                      sbaylor
                      0
                      6
                      136

                    • Question on Breadcrumb and Canonical
                      TommyTan
                      TommyTan
                      0
                      5
                      1.5k

                    • Google fails to pick out the correct URL of the story
                      Liammcmullen
                      Liammcmullen
                      0
                      3
                      274

                    • Canonical url with pagination
                      Worship_Digital
                      Worship_Digital
                      0
                      10
                      10.8k

                    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