Archived topic
Google Errors
5 replies · Started by Janine on September 22, 2020
Hiya.
I know that GP is mobile responsive.
So I am not sure why I am getting these two Google errors on only 10 of my pages but not the other 80 posts and pages on my site.
Can you enlighten? Thank you!
Hi there,
can you update those google drive links so they are free for anyone to view.
Hiya, David.
I did as you requested.
Thank you!
OK so we have a whole doc on those two issues - you can skip straight to the issue you're having here ie. CSS styles and Scripts are being blocked by robots.txt:
Hi, David.
I removed the following three entries:
User-agent: *
Disallow: /wp*
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
I purged the cache on my site.
And I cleared my browser cache.
I am now getting this result, I don't know if I am making progress or not. I hope so.
I will say that those entries have been in the robots.txt file for some time and this is the first time I am receiving these error notifications from Google.
Thank you, David.
I just ran a mobile friendly test and the robots.txt is no longer blocking the CSS or scripts.
It may take a little while for those changes to propagate and for Google to recrawl them.