WordPress.org

Support

Support » Plugins and Hacks » crawlers generate error logs when loading files in podpress dir

crawlers generate error logs when loading files in podpress dir

  • Eli
    Participant

    @scheeeli

    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/

Viewing 1 replies (of 1 total)
  • Plugin Author ntm
    Member

    @ntm

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

    Thanks,
    Tim

Viewing 1 replies (of 1 total)
  • The topic ‘crawlers generate error logs when loading files in podpress dir’ is closed to new replies.