I've got a problem with Prestashop redirection.
Everytime when someone gets to not existing page via http
, it first returns 301, redirects to the very same URI but with https
protocol, and then returns 404.
Shop works mainly on http
, only cart and user areas are https
.
Changing PageNotFoundController.php
gave no results. Nothing suspicious in .htaccess
and I cannot find any other possible causes. Any ideas how to fix it, or prevent redirecting?