Disallow Indexing of WordPress scripts

Posted on October 5, 2016 at 4:23 pm

Prevent search engines, such as Google, to index PHP scripts of your installed plugins and themes. Prevent indexing of scripts located in other WordPress directories (i.e. /wp-includes/ and /wp-admin/). To disable indexing of WordPress scripts just add this on robots.txt file:

User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/themes/
Disallow: /feed/
Disallow: */feed/

Receive updates via email

Other Posts

Updated Posts