iThemes Security (formerly Better WP Security)
How to Stop Blocking "wget" requests? (5 posts)

  1. ipexmedia
    Posted 2 years ago #

    I'm having a problem with this plugin blocking my "wget" request related to cron-job?

    How do prevent it from blocking my "wget" requests?


  2. supawiz6991
    Posted 2 years ago #

    hmmm very strange. what is the cron job for/doing? Also what indicators do you have that indicate that bwps is blocking wget and not a server setting doing it?

  3. ipexmedia
    Posted 2 years ago #

    The cron-job is used to do the scheduling tasks like posting and backup...entirely replacing the wp-cron as substitute because it was causing overload on server.

    Well, according to the host it has something to do with this added to the .htaccess from Better WP Security:

    RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]

  4. ipexmedia
    Posted 2 years ago #

    So my question is how to block this from happening...or which settings should I check/uncheck for this rule?

    RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]

    Thanks any help.

  5. supawiz6991
    Posted 2 years ago #

    You could remove RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR] from the .htaccess file and that would allow you to use wget.

    Another solution that was pitched to me (although I'm not familiar with it) is Lynx.

    Its said to be safer than wget but depending on what the cron task is doing it may or may not work.

    you can read more about it and grab the needed install files from here:

    http://kb.iu.edu/data/afik.html <- info
    http://lynx.isc.org/release/ <- install files

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.