Skip to content

Instantly share code, notes, and snippets.

@JoseCage
Forked from RafaelFunchal/.htaccess
Created April 23, 2017 23:56
Show Gist options
  • Save JoseCage/f39dd44a87a6c6478fae4bb305372d51 to your computer and use it in GitHub Desktop.
Save JoseCage/f39dd44a87a6c6478fae4bb305372d51 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