Jump to content

Url /module/* redirects to admin panel instad of 404


Recommended Posts

My module controller was not working so during my tests i found out that all url starting with /module redirect to admin panel.

In my local server, if i access for example `http://mywebsite.com/module/lorem/ipsum` and the module-controller combination doesn't exist, it returns a 404.
But in production all urls starting like this: `https://mywebsite.com/module/*` return a redirect everytime, so i can not access `website.com/mymodule/mycontroller`.

Its strange because we always use this server configuration for Prestashop. Any ideas how to debug this?

Thanks.

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