Marcio Javi Posted September 20, 2019 Share Posted September 20, 2019 (edited) I want to get rid of some part of URI that I use for SEO purposes like this: myshop/remove-this/rest-of-uri --> myshop/rest-of-uri If I rewrite URL the original URI stays and is passed to dispatcher unless I do external redirect which is not what I want. The only way I found is to override DispatcherCore::setRequestUri() method, but overriding is not recommended by PrestaShop team. Can anyone suggest solution for PrestaShop version 1.7.6+ ? Edited September 20, 2019 by Marcio Javi (see edit history) 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