laurent0071 Posted July 24, 2017 Share Posted July 24, 2017 Hi all, I want to change the product route from {categories:/}{id}-{rewrite}.html to {categories:/}{rewrite}-{id}.html To apply the change it's working but the problem is that the old URLs are not working and will show error 404 Someone know how and where should I write a permanent redirect to avoid Error 404 ? I guess something to deal with link.php / dispatcher.php I am not a developper so I don't know how to write this rule : If a product page leads to error 404 then goest to that path to find the product : {categories:/}{id}-{rewrite}.html Link to comment Share on other sites More sharing options...
Scully Posted July 26, 2017 Share Posted July 26, 2017 I would use .htaccess directives to redirect from old to new url. However I wouln't change the URL settings at all if a shop is running productively already. 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