seo – Google deindexes our desktop site after launching a separate mobile site with fewer pages

For pages containing desktop and mobile versions:

  • On your page, put a canonical showing the page and a alternate showing the page.

  • On your page, put a canonical showing the page.

For pages where you only have one desktop version:

  • On your page, put a canonical pointing to page and do not use a alternate tag (because there is no alternative representation).

  • Leave your non existing page.

This configuration ensures that Google will always index your pages as canonical pages and not to confuse and index everything pages, because it will see them as an alternative resource representation.

When a visitor visits your page, detects if they are on a mobile device. If they are both on a mobile device and you also have a mobile representation of the displayed page, redirect them to the page. version of the page.