Jump to content

Some categories showing 404


Recommended Posts

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 by [email protected] (see edit history)
Link to comment
Share on other sites

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 by [email protected] (see edit history)
Link to comment
Share on other sites

  • 2 years later...
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

  • 2 years later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...