It seems to be a WP default setting, as many Webmasters have gotten this warning and never edited the robots.txt. Removing all the disallows is the easiest solution, but I assume you want some or all of those directories blocked.
Google is only concerned about the .js and .css files, so you could in theory edit the robots.txt to include:
User-Agent: Googlebot
Allow: /.js
Allow: /.css
However, being that specific could require future changes to the user agent, in case more search crawlers follow Google’s example.
You want to make sure you know how robots.txt work so you don’t accidentally block your entire site or important sections. Here is a good reference for more details about robots.txt:
Related Posts:
- Remove Google Fonts Which Are (Probably) Added By Plugins
- Looking for a solution – slightly convoluted problem
- install robots.txt to wordpress website admin
- Restrict access to content in conjunction with facebook connect & google login
- Is there a way to embed a Google Docs form in a page without using plugins?
- Stop wordpress from requesting external jquery from googleapi
- Getting 400 Error: redirect_uri_mismatch when trying to grant permission to Gmail SMTP plugin
- Hide plugins and theme from public
- How to add height and width to images on a page(using WP Bakery) to improve Google’s CLS score?
- Google Maps for Woocommerce Checkout
- Bing/msn bots is heavily requesting random of my website
- Accessing data from Google Cloud Datastore in WordPress site
- Different function call depending on shortcode?
- Speeding up WordPress on a Local Network
- Adding google authenticator and use only email address of user
- Google adsense stats plugin? [closed]
- How to enable suggested edits?
- How to change a user’s password programatically
- wordpress on localhost lamp doesn’t let me install plugins
- WP_User_Query and non-unique usermeta data
- How to delete custom taxonomy terms in plugin’s uninstall.php?
- To Disable WordPress Rest API or Not To Disable?
- how to include other plugins css files in a shortcode?
- Redirect to settings page after install
- Email Notifications of new posts to users – suggestions [closed]
- What is the correct way for a theme to support plugin UIs?
- What is the ‘admin_action_’ . $_REQUEST[‘action’] hook used for?
- Get URL of a specific file
- Building a plugin that doesn’t break when deactivated
- How does WordPress determine the primary plugin PHP file?
- translation does not work with text_domain
- Data sanitization escaping HTML apostrophes
- Custom comment type maybe?
- Remove Adminstrator Hyperlink from a user having role to add and see users
- Enable comments for post with comments meta box removed
- Overide a function that is inside a plugin
- Having separate plugins and themes folder for multi-site setup
- Is there a plugin to record querystring parameters for a page (for customer tracking)? [closed]
- Many plugins making WordPress run slow by design?
- Why are some of my thumbnails not being generated?
- Remove caching from wp_remote_get calls from custom plugin
- Detect the activated theme from plugin code
- Transient unique names
- Add keywords meta to index.php page
- Can’t delete Draft Post [closed]
- How to check if tables in WordPress still exists after activations
- Looking for a way that will collect visitors emails before letting them view the blog posts [closed]
- Force file download on plugin activation
- Unicode characters displaying as ? after import using WP Clone
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Why are my queries interfering with the global post variable?
- Overwrite a plugin’s CSS?
- Problem with isset and $_POST
- WooCommerce product and terms count [closed]
- MediaElement.js works on one site but not the other?
- Moving to a WordPress blog. What do I need to know?
- How can I support plugins in a custom theme?
- is it possible different visitors location to show different informations?
- Couple of beginner’s questions [closed]
- Can I filter a function created by a theme or a plugin?
- Get all posts, regardless of status
- Best way to retrieve data in custom api extended from wp-api
- WordPress rewrite rules not working
- Ajax request sends url rather than data
- All In One SEO Plugin – Category INDEX
- Edit post image attributes on fly?
- Grouping imported products and showing variations based on selected product
- WordPress fatal error from php protocol codes
- Replace only the first CSS class
- Ultimate Members Default Post Layout problem
- General Term for this form Field
- how to enable/activate a plugin per Cpanel
- Gutenberg Block: How to reload a ServerSideRender?
- How to define the slug for my custom plugin?
- Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
- Run a Change Role Cron Job on WordPress via cPanel
- How to display variables from plugin?
- using wordpress login details for other website / application / forum?
- ACF Repeater Field Question [closed]
- Publish check if the edited content has HTML “div”
- ACF repeater field
- How to remove ‘View Details’ page & updates from third-party plugin?
- Which wordpress plugin increases the size of tag as per more number of posts on it?
- Redirect default login page to a custom page [duplicate]
- appointment plugin doesn’t display all appointments
- How do I convince this button to do something when it is clicked?
- Doing action based on input from options menu
- Images not showing and plugins not installing on wordpress server move
- W3 Total Cache and IIS7 not doing much [closed]
- Mystery URL http://#/ Listed in XML Sitemap Created by WordPress SEO by Yoast Plugin
- “The Events Calendar” Issues in WP 3.2
- How can I be a plugin developer? [closed]
- How to generate a responsive output from plugin?
- save_post hook is not working after changing priority
- The plugin generated xxx characters of unexpected output during activation
- My wordpress site wont load, it gives header error warnings
- Shortcode returning specific content of a post
- How to add custom html to the Media > Attachment Details modal?
- Unable to access WPadmin, website down
- ‘Active lotteries’ only custom query for woocommerce lottery plugin and elementor