Yet another optimized robots.txt file for WordPress (including all the latest Googlebots)
If you're unhappy with your robots.txt file you can try this one, which filters what you should hide without crippling any of the latest Googlebots.
Ryadel · https://www.ryadel.com/en/yet-another-optimized-robots-txt-file-for-wordpress-including-all-the-latest-googlebots/

There are a lot of self-declared "optimized" robots.txt files for WordPress around the web, but most of them don't allow full access to most Googlebots that scans our website for various reasons, such as: mobile browsers compatibility, PageSpeed insights, tag/structured data analysis, & more. Here's a list of all of them as of October 2016, including the most recent ones.
If you want to be sure that your robots.txt isn't blocking any of these, you can test your website URLs with the following tools:
- Mobile-Friendly Test: https://www.google.com/webmasters/tools/mobile-friendly/
- PageSpeed Insights: https://developers.google.com/speed/pagespeed/insights/
- Fetch as Google (requires a registered property in Google Search Console): https://support.google.com/webmasters/answer/6066468?hl=en
If you're unhappy with the results, I strongly suggest to adopt something similar to the following:
User-agent: *
Allow: /
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content
Disallow: /e/
Disallow: /show-error-*
Disallow: /xmlrpc.php
Disallow: /trackback/
Disallow: /comment-page-
Allow: /wp-content/uploads/
User-agent: Mediapartners-Google
Allow: /
User-agent: Adsbot-Google
Allow: /
User-agent: AdsBot-Google-Mobile-Apps
Allow: /
User-agent: Googlebot
Allow: /
User-agent: Googlebot-Image
Allow: /
User-agent: Googlebot-Mobile
Allow: /
User-agent: Googlebot-News
Allow: /
User-agent: Googlebot-Video
Allow: /
Sitemap: http://YOUR_SITEMAP_URLThat's it for now: happy SEO!



Comments
No comments.