Jump to content

friendly urls enabled and protected admin folder results to no access to backoffice (with solution)


manu1987

Recommended Posts

Hello everybody,

 

I searched for this for hours and wanted to share it with the community in case someone else has this problem and finds this thread :)

 

When you enable friendly url's and password protect your admin folder using htaccess then the admin folder cannot be accessed anymore (at least in my case).

 

Solution: You have to add two lines of code in your htaccess file before the code block with password protection. Add this: 

ErrorDocument 401 "Unauthorized Access"
RewriteEngine off

Hope this avoids others from hours of searching...

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...