Jump to content
mattxs

AdminPanel redirecs to index page

Recommended Posts

Hello. Why does Prestashop redirect me to an index page when I try to open catalog (or preferences, or payment, or order) in admin panel? Admin panel always redirects me to the index (shop) page.

Share this post


Link to post
Share on other sites

All done!

I just didn't add admin folder to NGinx config file:

 

location /admin-dev/ {  # Change this for your admin url
        if (!-e $request_filename) {
            rewrite ^/.*$ /admin-dev/index.php last; # Change this for your admin url
        }
    }

 

  • Like 1

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More