Nathalie W Posted March 19, 2023 Share Posted March 19, 2023 Hi I tried to change {-:id_product_attribute}{rewrite}-{id}.html to {category}/{-:id_product_attribute}{rewrite}-{id}.html and when i try to access my shop via google search results i get "Page not found" Am i missing something here? Thanks! Link to comment Share on other sites More sharing options...
Nickz Posted March 19, 2023 Share Posted March 19, 2023 3 hours ago, Boran Chesnik said: Am i missing something here? To get help oh yes. Prestashop Version, theme? You are trying to archieve what exactly? Link to comment Share on other sites More sharing options...
Nathalie W Posted March 19, 2023 Author Share Posted March 19, 2023 56 minutes ago, Nickz said: To get help oh yes. Prestashop Version, theme? You are trying to archieve what exactly? Hehe, ok PS 1.7.8.8 with zOne Theme I'm trying to change the pattern of my URL's. Today i don't have the category path in the URL. And, when i change the URL setting (as above) all product links are broken from i.e. Google search results etc. Is there a way to avoid the broken links? Link to comment Share on other sites More sharing options...
Nickz Posted March 19, 2023 Share Posted March 19, 2023 2 hours ago, Boran Chesnik said: Is there a way to avoid the broken links? Without knowng what you did before that issue came up not really. What you can do is to get the list and see if there is a common nominator, like yourshop.com/category/whatever and redirect the urls to yourshop.com/category over .htaccess. Link to comment Share on other sites More sharing options...
Nathalie W Posted March 20, 2023 Author Share Posted March 20, 2023 I did not do anything! I just want to change my original URL structure to something else, and when i do the links are broken when i access them via google search results. So, is there a way to set some rewriting function without have to add the manually? I have over 25.000 products... Link to comment Share on other sites More sharing options...
El Patron Posted March 22, 2023 Share Posted March 22, 2023 On 3/19/2023 at 6:56 AM, Boran Chesnik said: Hi I tried to change {-:id_product_attribute}{rewrite}-{id}.html to {category}/{-:id_product_attribute}{rewrite}-{id}.html and when i try to access my shop via google search results i get "Page not found" Am i missing something here? Thanks! If you change url then you need to build rewrites from old url to new url. there are 301/302 rewrite modules on addons you can use or add to top of .htaccess my advice is to not change the url's, there is really no good reason for it anymore.... Link to comment Share on other sites More sharing options...
Nathalie W Posted March 24, 2023 Author Share Posted March 24, 2023 So, that means that cause i have over 25.000 product it's an impossible task?! 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