Forums

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

  1. Eli
    Member
    Posted 4 months 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
    Posted 3 months ago #

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

    Thanks,
    Tim

Reply

You must log in to post.

About this Plugin

About this Topic

Tags