Search code examples
htmlmobileseocanonical-link

Does SEO markup need to be on both versions of a website?


Lets say I have 2 pages (1 for mobile and 1 for desktop)

Mobile URL: http://www.example.com/mobile/

Desktop URL: http://www.example.com/

And I put these kind of SEO tags in the <head> of the desktop version of my site:

      <meta name="description" content="Amazing Description"/>
      <meta property="og:type" content="Website"/>
      <meta property="og:url" content="http://www.example.com/"/>
      <meta property="og:title" content="Perfect Title"/>
      <meta property="og:description" content="Amazing Description For Social Media"/>
      <meta property="og:image" content="http://www.example.com/img/awesome.png"/>

And finally, I put this canonical tag in the mobile page:

      <link rel="canonical" href="http://www.example.com/">

Wouldn't that make it so that any additional tags placed in the <head> of the mobile site were ignored?


Solution

  • If Google trusts your canonical link, then yes, only your desktop page would be taken into account.