How Do I Resolve a 403 Forbidden Error That Only Occurs on Mobile Devices?

Avatar
  • Answered
How do I resolve an error 403 forbidden condition that only happens when I try to access my website from my cell phone? It only works if I disable the members only plugin.
Avatar
johnpaulb-imhs1
Hello, Thank you for contacting us about a 403 error when accessing your site on a cell phone. I noticed there was an .htaccess file in your /home directory with rules for blocking bots. The following lines are causing the 403 forbidden error:
BrowserMatchNoCase "-" badbots
Order Allow,Deny
Allow from all
Deny from env=badbots
I recommend reviewing and correcting the coding of this .htaccess file. Let us know if you have any further questions. Thank you, John-Paul