Skip to content

Instantly share code, notes, and snippets.

@RafaelFunchal
Created July 28, 2015 20:12
  • Star 3 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save RafaelFunchal/f9a41ea72d80600d753a to your computer and use it in GitHub Desktop.
Exclude the files ajax, upload and WP CRON scripts from authentication
# Exclude the files ajax, upload and WP CRON scripts from authentication
<FilesMatch "(admin-ajax\.php|media-upload\.php|async-upload\.php|wp-cron\.php|xmlrpc\.php)$">
Order allow,deny
Allow from all
Satisfy any
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment