Jump to content

Admin subfolder masking using .htaccess


SkyHiRider

Recommended Posts

My prestashop is installed in the peciatky.sk/store/ folder and I am using .htaccess to hide this folder so that my store url is peciatky.sk/

 

But this does not work for my admin folder - whenever I go to peciatky.sk/admin1234 I get a 301 to he peciatky.sk/store/admin1234 

 

This breaks some of the backoffice .js scripts as my store url is set to /  . This means that some of my modules, namely blocklayered, do not work.

 

Tried adding the same .htaccess file to the /admin1234 folder but that did nothing...

 

How can I extend the directory masking so that it also applies to the /admin1234 folder?

Link to comment
Share on other sites

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...