Optimize
4.6K members online now
4.6K members online now
Everything you need to know about setting up Optimize including creating your account and container, linking to Google Analytics and how to tag your site.
Guide Me
star_border
Reply

canonical mobile desktop site

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello everyone - I have set up my website with canonical links for our mobile site and desktop site - I have submitted the site to Google (Fetch as Google) in the Search Console.

 

MOBILE SITE:
<link rel="canonical" href="https://www.mydomain.com/"/>

DESKTOP SITE:

<link rel="alternate" href="https://m.mydomain.com/" media="only screen and (max-width: 640px)">

 

However, I have not seen that the site changes with the screen resolution are smaller. 

 

Could you assist me to let me know if I have missed something?