Mobile app version of vmapp.org
Login or Join
Becky754

: Google Mobile Frieldy ignores mobile version even it Vary: User-Agent is set We have our website in two versions - desktop and mobile. Checking on multiple devices, Android, iOS and various browsers

@Becky754

Posted in: #Google #GoogleInsights #GoogleSearchConsole #Mobile

We have our website in two versions - desktop and mobile. Checking on multiple devices, Android, iOS and various browsers mobile device simulations, mobile site is properly loaded.
Despite of this fact Google Mobile Friendly Test sees our website only as desktop version. Ignores Vary: User-Agent tag. Test fails.

Interesting thing is that another Google test Pagespeed Insights sees the same website as mobile (test passess).

Is there any trick/gotcha to make test pass on both tools?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Becky754

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

What you want to do is check the server access logs after testing your website with each tool to see what identification google uses. Search the logs for googlebot or IP addresses that match google. Also, search the logs for part of the URL of the page you requested for each test to help you track google down.

Once you done that, you need to modify your mobile detection routine accordingly to redirect the google bots to the correct version of your website.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme