Skip to content

Instantly share code, notes, and snippets.

@rgo
Created May 7, 2009 10:15
Show Gist options
  • Save rgo/108039 to your computer and use it in GitHub Desktop.
Save rgo/108039 to your computer and use it in GitHub Desktop.
wp-cron is having mod_security error 500
# Add this to every host running WP (either in Apache conf files - a recommended method - or in .htaccess):
<Files ~ "wp-cron\.php$">
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
Order Deny,Allow
Deny from All
Allow from my.own.IP.address
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment