cancel
Showing results for 
Search instead for 
Did you mean: 

M2 - All category pages are only 404 - tried several solutions

M2 - All category pages are only 404 - tried several solutions

Hi,

 

on my first try of the category pages i get only 404 whoops errors.

I have Magento 2.1.5.

 

I imported about 20000 products in my single shop. The products are available in the search. But now I tried the category tree from Codazon Megamenu. All links go to 404. Thats an example:

http://domain.com/catalog/category/view/s/test123/id/972/

http://domain.com/kinderfahrzeuge/laufrader.html

 

I tried several things:

- magento indexer:reindex

- magento setup:di:compile

- cleared var/cache,var/generation,var/pagecache,var/di

 

Maybe its a problem that I have more than one root category?

 

Now I dont know what I can do to make it work. Google was my friend but I only found the named methods.

 

What can I do?

 

Thank you

 

Regards

2 REPLIES 2

Re: M2 - All category pages are only 404 - tried several solutions

Hello,

 

You have url rewrites enabled?

 

 

Re: M2 - All category pages are only 404 - tried several solutions

You need to check the following things -:

 

1) Enabled category is set to YES

 

2) Products are assigned to the category

 

3) URL key is correct

 

4) Re-index has been run php bin/magento indexer:reindex

 

5) Caches are cleared