RobertXX Posted July 8, 2022 Share Posted July 8, 2022 (edited) Hi, I changed products FURL from {category:/}{id}{-:id_product_attribute}-{rewrite}{-:ean13}.html to {category:/}{id}{-:id_product_attribute}/{rewrite}{-:ean13}.html When I access old URL it does not auto point to new one BUT for categories and other pages it does. I get 404 when accessing old URL. Any advice/help please? P.S. I regenerated .htaccess Edited July 8, 2022 by RobertXX (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted July 11, 2022 Share Posted July 11, 2022 On 7/7/2022 at 10:25 PM, RobertXX said: When I access old URL it does not auto point to new one BUT for categories and other pages it does. I get 404 when accessing old URL. Any advice/help please? P.S. I regenerated .htaccess do you have a back up to undo the damage? What version you are using? and why did you do that in the first place? Link to comment Share on other sites More sharing options...
RobertXX Posted July 11, 2022 Author Share Posted July 11, 2022 "and why did you do that in the first place?" I am advanced user, had purpose to do so However, I thought PrestaShop should handle this automatically. Apparently, I noticed it does not for Products. I quickly sorted it via .htaccess rewrite rules and prepared custom controller to handle that. Now all is OK. Link to comment Share on other sites More sharing options...
Prestachamps Posted July 11, 2022 Share Posted July 11, 2022 Hi, If you have not tried to clear all caches yet then try that this can solve the problem. Have a nice day. Kind regards, Leo Link to comment Share on other sites More sharing options...
RobertXX Posted July 11, 2022 Author Share Posted July 11, 2022 I did, cleared and physically deleted too. Nothing. 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