Exclude Upload Scripts from HTTP Authentication


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Exclude the file upload and WP CRON scripts from authentication
  2. <FilesMatch "(async-upload\.php|wp-cron\.php|xmlrpc\.php)$">
  3. Satisfy Any
  4. Order allow,deny
  5. Allow from all
  6. Deny from none
  7. </FilesMatch>

URL: http://codex.wordpress.org/User:Hakre/Htaccess_Auth_Excludes

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.