Why does Google Search Console show “Page isn’t mobile-friendly”?

A common reason for this error is that Google’s crawler can’t access your site’s CSS or JavaScript files. To fix it, update your robots.txt file with these rules:

Allow: /*.css
Allow: /*.js
Allow: /wp-content/uploads/
Allow: /wp-content/themes/
Allow: /wp-content/plugins/

After making these changes, go to Google Search Console, request indexing for the affected pages, and wait for Google to reprocess them.

Did the answer help you?
Related Questions