[email protected] Posted September 6, 2016 Share Posted September 6, 2016 (edited) Hi I'm setting up a new shop in prestashop, and I've got a problem, that I cannot figure out. Some of the categories suddenly shows error 404, even though they exist. Here is an example: This category works fine http://test.vinkyperen.dk/vine/roedvin/frankrig/ This category returns 404 http://test.vinkyperen.dk/vine/roedvin/australien/ If I change the friendly url of the last one to something else in the backoffice like this http://test.vinkyperen.dk/vine/roedvin/australien-testing/ the category works fine. But when I change it back to just http://test.vinkyperen.dk/vine/roedvin/australien/ It still doesn't work. So it seems prestashop somehow just don't want the URL 'australien' I tried disabling friendly url's, but get the same result. I tried clearing the cache, with no luck. Anyone got any ideas? Thanks in advance. Edited September 6, 2016 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted September 6, 2016 Share Posted September 6, 2016 they all work fine for me Link to comment Share on other sites More sharing options...
[email protected] Posted September 7, 2016 Author Share Posted September 7, 2016 @Ambassadors Really? I've tried in a lot of different browsers and they still give me 404. Does these work for you too? http://test.vinkyperen.dk/vine/hvidvin/spanien/ http://test.vinkyperen.dk/vine/roedvin/new-zealand/ Link to comment Share on other sites More sharing options...
tuk66 Posted September 7, 2016 Share Posted September 7, 2016 I got blanks pages (404 error). You are using a URL rewrite module so try to learn there. Link to comment Share on other sites More sharing options...
[email protected] Posted September 7, 2016 Author Share Posted September 7, 2016 Thank you both for taking the time to look at this. I've tried deactivating clean urls module and disabling url rewrite. It changes the URL to something like this http://test.vinkyperen.dk/index.php?categories_rewrite=vine%2Froedvin&category_rewrite=australien&controller=category But it still gives me 404 error Link to comment Share on other sites More sharing options...
tuk66 Posted September 7, 2016 Share Posted September 7, 2016 You are still using "something". See the difference: http://mydomain.com/index.php?id_category=8&controller=category&id_lang=1http://mydomain.com/en/8-dresses http://test.vinkyperen.dk/index.php?categories_rewrite=vine%2Froedvin&category_rewrite=australien&controller=category My URLs contain ID of the category. Link to comment Share on other sites More sharing options...
[email protected] Posted September 7, 2016 Author Share Posted September 7, 2016 (edited) You are right. I didn't realize. Disabling the cleanURL's module did not remove the modules override classes, so they were still at play. When I removed those, the URL looked like the first of yours, containing a category_id. Then it worked. I hent enabled the user friendly URL's and it looked like your second example, and it still worked. Then I enabled the cleanURL's module and it stopped working again. So now I know, the problem lies within the cleanURL's module somewhere. I mistakenly thought, I had ruled that out. I'll try to figure out where. Thank you so much for your help, narrowing this down. Edited September 7, 2016 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
Zubee Posted December 23, 2018 Share Posted December 23, 2018 On 9/7/2016 at 2:04 PM, [email protected] said: You are right. I didn't realize. Disabling the cleanURL's module did not remove the modules override classes, so they were still at play. When I removed those, the URL looked like the first of yours, containing a category_id. Then it worked. I hent enabled the user friendly URL's and it looked like your second example, and it still worked. Then I enabled the cleanURL's module and it stopped working again. So now I know, the problem lies within the cleanURL's module somewhere. I mistakenly thought, I had ruled that out. I'll try to figure out where. Thank you so much for your help, narrowing this down. I am experiencing similar problem. I have installed pretty urls module, that is working well on all products but the categories are giving 404.when i disable it still not work, I found override classes. so what I do. as I bought the module and they said it must work. how to fix this please. Link to comment Share on other sites More sharing options...
[email protected] Posted July 14, 2021 Share Posted July 14, 2021 On 12/23/2018 at 9:29 PM, Zubee said: I am experiencing similar problem. I have installed pretty urls module, that is working well on all products but the categories are giving 404.when i disable it still not work, I found override classes. so what I do. as I bought the module and they said it must work. how to fix this please. I'm in the same case with the PrettyURLs module. Did you fix it ? Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 14, 2021 Share Posted July 14, 2021 4 hours ago, [email protected] said: I'm in the same case with the PrettyURLs module. Did you fix it ? I am using the same thing long time now. What did you set in Seo&Url - category path mine is: {categories:/}{rewrite} . Worked perfectly. 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