undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. Digital Marketing
  3. Web Design
  4. Correct Canonical Reference

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Correct Canonical Reference

Web Design
3
8
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • dimanyc
    dimanyc last edited by Apr 3, 2012, 2:18 PM

    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
    • Dr-Pete
      Dr-Pete Staff @Dr-Pete last edited by Apr 5, 2012, 4:32 PM Apr 5, 2012, 4:32 PM

      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
      • dimanyc
        dimanyc @Dr-Pete last edited by Apr 4, 2012, 3:26 PM Apr 4, 2012, 3:26 PM

        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 Staff @dimanyc last edited by Apr 4, 2012, 2:43 PM Apr 4, 2012, 2:43 PM

          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 Apr 5, 2012, 4:32 PM Reply Quote 0
          • dimanyc
            dimanyc last edited by Apr 4, 2012, 12:30 PM Apr 4, 2012, 12:30 PM

            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 Apr 4, 2012, 2:43 PM Reply Quote 0
            • Dr-Pete
              Dr-Pete Staff last edited by Apr 4, 2012, 12:18 PM Apr 4, 2012, 11:51 AM

              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 @mytouchoftech last edited by Apr 4, 2012, 12:58 AM Apr 4, 2012, 12:58 AM

                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
                • mytouchoftech
                  mytouchoftech last edited by Apr 4, 2012, 12:17 AM Apr 4, 2012, 12:17 AM

                  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 Apr 4, 2012, 12:58 AM Reply Quote 0
                  • 1 / 1
                  1 out of 8
                  • First post
                    1/8
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  Browse Questions

                  Explore more categories

                  • Moz Tools

                    Chat with the community about the Moz tools.

                  • SEO Tactics

                    Discuss the SEO process with fellow marketers

                  • Community

                    Discuss industry events, jobs, and news!

                  • Digital Marketing

                    Chat about tactics outside of SEO

                  • Research & Trends

                    Dive into research and trends in the search industry.

                  • Support

                    Connect on product support and feature requests.

                  • See all categories

                  Related Questions

                  • seoelevated

                    Reducing cumulative layout shift for responsive images - core web vitals

                    core web vitals

                    In preparation for Core Web Vitals becoming a ranking factor in May 2021, we are making efforts to reduce our Cumulative Layout Shift (CLS) on pages where the shift is being caused by images loading. The general recommendation is to specify both height and width attributes in the html, in addition to the CSS formatting which is applied when the images load. However, this is problematic in situations where responsive images are being used with different aspect ratios for mobile vs desktop. And where a CMS is being used to manage the pages with images, where width and height may change each time new images are used, as well as aspect ratios for the mobile and desktop versions of those. So, I'm posting this inquiry here to see what kinds of approaches others are taking to reduce CLS in these situations (where responsive images are used, with differing aspect ratios for desktop and mobile, and where a CMS allows the business users to utilize any dimension of images they desire).

                    Web Design | Dec 20, 2022, 11:15 PM | seoelevated
                    3
                  • Joe_Stoffel

                    Have Your Thoughts Changed Regarding Canonical Tag Best Practice for Pagination? - Google Ignoring rel= Next/Prev Tagging

                    Hi there, We have a good-sized eCommerce client that is gearing up for a relaunch. At this point, the staging site follows the previous best practice for pagination (self-referencing canonical tags on each page; rel=next & prev tags referencing the last and next page within the category). Knowing that Google does not support rel=next/prev tags, does that change your thoughts for how to set up canonical tags within a paginated product category? We have some categories that have 500-600 products so creating and canonicalizing to a 'view all' page is not ideal for us. That leaves us with the following options (feel it is worth noting that we are leaving rel=next / prev tags in place): Leave canonical tags as-is, page 2 of the product category will have a canonical tag referencing ?page=2 URL Reference Page 1 of product category on all pages within the category series, page 2 of product category would have canonical tag referencing page 1 (/category/) - this is admittedly what I am leaning toward. Any and all thoughts are appreciated! If this were in relation to an existing website that is not experiencing indexing issues, I wouldn't worry about these. Given we are launching a new site, now is the time to make such a change. Thank you! Joe

                    Web Design | Feb 7, 2023, 8:46 PM | Joe_Stoffel
                    1
                  • AdsposureDev

                    Why is my financial services site being flagged as gambling

                    Watchguard and Websense/Forecepoint are flagging my financial services site gambling...how can I prevent that from happening.  https://fwag.com/

                    Web Design | Sep 6, 2023, 9:55 AM | AdsposureDev
                    0
                  • Kdruckenbrod

                    Payment Options in Footer

                    Hi Moz Community. I'm currently working on cleaning up a website footer on an e-commerce site. I was curious to find out if including payment options is important? Either text or image icons. Including Visa, AMEX etc. Are there benefits of displaying them? Image attached. Thanks vcdoL

                    Web Design | Apr 18, 2024, 7:09 AM | Kdruckenbrod
                    0
                  • QBSEO

                    What’s the best tool to visualize internal link structure and relationships between pages on a single site?

                    I‘d like to review the internal linking structure on my site. Is there a tool that can visualize the relationships between all of the pages within my site?

                    Web Design | Jan 14, 2023, 4:23 AM | QBSEO
                    0
                  • Berner

                    How to know if a wordpress theme is coded correctly for Seo

                    Hi, So I am curious if there is a tool to see if a site is coed properly for Google? I am running Avada, a standalone theme, yet I am also using a cache plugin. But when I search my code, its all like on one huge line. So I am curious if there is a way to verify or check if a theme is coded correctly? Thank you

                    Web Design | May 29, 2014, 5:15 AM | Berner
                    1
                  • TommyTan

                    Question on Breadcrumb and Canonical

                    Hi SEOmozers, I have another question.  =]  Thanks in  advance. First question: How important is the breadcrumb for SEO? I know that breadcrumb makes better UX because it shows how the visitor landed on this page and the breadcrumb may show up in the search engine.  But other than that, how important is it? Second Question: If I have a page that can be found via 2 locations, how should I handle this in regards to breadcrumb? For example, I have page A.  You can access page A via Category A and Category B.  Therefore, what I did was list Page A under Category A and when someone visit Category B and click on Page A, it will redirect to the page A that was found via Category A. The problem is on page A, the breadcrumb is Home > Category A > Page A.  So if someone visit Category B and click on Page A, it redirects and the breadcrumb shows Home > Category A > Page A. What should I do with the breadcrumb for Category B > Page A? Should I create another page A and just use canonical on it? Should I create another page A but do not index it? or leave it as is? 1 Page A, can be access via 2 categories. Please advise. Thank you!

                    Web Design | Feb 27, 2013, 4:35 PM | TommyTan
                    0
                  • jaychow

                    Does it do harm if you add a rel="canonical" tag on a page that doesn't need it?

                    If a page is clearly unique and there is obviously no canonical tag needed, does it hurt anything if one has been added?

                    Web Design | Feb 5, 2013, 6:55 PM | jaychow
                    0

                  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
                  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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.