Netteria.NET Posted March 11, 2018 Share Posted March 11, 2018 Hello How to make a prestashop 1.7.3 url my_shop/brands/ instead of the my_shop/brands? Url my_shop/brands gives a 404 error:( I tried to do something in htaccess but it gives me nothing. You have to reprogram in the code. How to do it? I do not want 301 redirect only http 200 Best regards and thank you 1 Link to comment Share on other sites More sharing options...
Netteria.NET Posted March 11, 2018 Author Share Posted March 11, 2018 I changed in the Dispatcher class in the loadRoutes method url_rewrite on brands / and works. But I have the impression that this is not the most elegant solution. Of course, I will override this class so that there will be no problems when updating presty. But maybe someone knows a better solution? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now