WordPress.org

Ready to get started?Download WordPress

Forums

podPress
crawlers generate error logs when loading files in podpress dir (2 posts)

  1. Eli
    Member
    Posted 2 years ago #

    I get a lot of errors in my apache logs when crawlers go throught the podpress dir.
    I just thought it might be a good idea for you to add this bit of code to your plugin so that robots would not crawl your plugin dir:

    function disallow_podpress_in_robots() {
    	echo  "\nDisallow: " . plugin_dir_url(__file__) . "\n";
    }
    add_action('do_robots', 'disallow_podpress_in_robots');

    http://wordpress.org/extend/plugins/podpress/

  2. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you! I will look into this matter and probably use this snippet.
    (But not in 8.8.10.13.)

    Thanks,
    Tim

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags