Recently I started having trouble accessing the wp-admin area of my site. I keep getting a redirect loop. I tracked this down to my wp-admin/.htaccess and the following code.
I’ve been using this code successfully for over a year now to keep brute force attacks out. It wasn’t until the last week that I started getting the redirect loop.
Any help would be appreciated.
# BEGIN CUSTOM CODE WPADMIN TOP: Add miscellaneous custom code here # Only allow login from these IP addresses AuthUserFile /dev/null AuthGroupFile /dev/null AuthName "Password Protected Area" AuthType Basic order deny,allow deny from all # whitelist home IP address allow from [IP DELETED for obvious reasons] # whitelist work IP address allow from [IP DELETED for obvious reasons] # END CUSTOM CODE WPADMIN TOP
- The topic ‘WP-Admin .htaccess & deny, allow recently started causing redirect loop’ is closed to new replies.