: Make Google recognize my mobile site We have our normal website - http://www.example.com. We now also have a mobile site - http://m.example.com. If a "mobile" user visits my site, we have
We have our normal website - www.example.com. We now also have a mobile site - m.example.com. If a "mobile" user visits my site, we have JavaScript that detects it and auto forwards them over to the mobile site as well, for proper user experience.
When I use Google's "Am I mobile friendly" tools, my site doesn't show up as mobile friendly, since it's checking the original site, rather than what is redirected.
How do I "tell" Google, or assure myself that Google is aware of our mobile presence (since not having a mobile presence can affect SEO)?
More posts by @Cugini213
1 Comments
Sorted by latest first Latest Oldest Best
This is what Google calls the "separate URLs" configuration.
In the desktop site, you should add a special <link rel="alternate" ...> tag pointing to the corresponding mobile URL. This helps Googlebot discover the location of your site's mobile pages.
In the mobile site, you should add a <link rel="canonical" ...> tag pointing to the corresponding desktop URL.
You can put the links either in the HTML of the pages or in your sitemaps.
More details and explanation here.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.