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. Technical SEO Issues
    4. Canonical and Alternate REL

    Canonical and Alternate REL

    Technical SEO Issues
    2 2 87
    • 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.
    • yousayjump
      yousayjump last edited by

      Hi

      I have a website which is mostly dynamic content from a database. In the header of the site I have a function which outputs the rel="canonical" link and in some cases the canonical is the page the user is visiting and not another page on the site but I still show it in the source.

      However we have just recently launched our mobile website which is stored on an M DOT domain (i.e. m.mydomain.com) which has different URL's to my main website so following Google's recommendations we have created rel="alternate" links on my desktop site to point to the equivalent mobile pages and on the mobile pages I have created rel="canonical" links which point back to the relevant desktop site keeping everything tidy.
      My question is, is there an issue with having both a rel="canonical" and rel="alternate" in the source of of a single page on my desktop site?  Is it conflicting or detrimental in anyway?

      Thanks for reading

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

        Technically, it should be ok, but this is a scenario that behave unpredictably, and it's why many mobile SEO folks seems to be recommending more and more moving away from alternate domains. You're doing it the way Google recommends for your situation, as far as I'm aware, but I would monitor the situation very, very carefully, and make sure that there's not crossover or duplicate content issues.

        It's a bit technically challenging, but you may also want to make sure that Googlebot-Mobile is hitting the proper site. See this advice:

        https://developers.google.com/webmasters/smartphone-sites/redirects

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Using rel=canonical
          glitterbug
          glitterbug
          0
          3
          104

        • Rel=canonical Weebly
          Jbarron1501
          Jbarron1501
          0
          6
          1.1k

        • Rel= Canonical
          GPainter
          GPainter
          0
          4
          92

        • Rel=Canonical Help
          rock22
          rock22
          0
          5
          121

        • Rel Canonical question
          Shaaps
          Shaaps
          0
          4
          197

        • Rel canonical confusion
          skg.ppa
          skg.ppa
          0
          4
          398

        • Rel Canonical Question
          Vahe.Arabian
          Vahe.Arabian
          0
          4
          530

        • 301 or Rel=canonical
          SL_SEM
          SL_SEM
          0
          3
          533

        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