Search code examples
seomobile-website

How to tell Google to recognize mobile-version and full-version of the web?


I have created mobile-optimized version of my web. Full version runs at www.domain.com and the mobile version runs at m.domain.com. Now I DO want to use this domain scheme for certain reasons.

Now when I try to search Google, sometimes I get results from both domains - which I don't think is good experience for the users - coming with desktop browser to a simple mobile-version of the web. Also I want to avoid duplicate-content problem.

What would be the best practice to "tell" Google that www.domain.com is full version website and m.domain.com is the website with the same content but with very simple design optimised for mobile users ?


Solution

  • Make m. URLs redirect (or <link rel="canonical">) to desktop URLs for spider UAs.

    Make desktop URLs redirect to m. URLs for mobile UAs.