Url migrated are not clean

Hello, my urls are like :catalog/category/view/s/luminaire-et-decoration/id/13/
and they should be as mycategory/luminaire-et-decoration.html
Have you an idea why ?

1 answer

Profile photo of Mall Staff 184060.00 $tone June 8, 2017
Public

Hi there,

Have you an idea why ?

I don’t know what did you do with your data after migrated. Let’s try with steps as bellow:
Step 1: back-up current your database.
Step 2: Run bellow sql in your database:

DELETE FROM url_rewrite WHERE entity_type = 'category' OR entity_type = 'product';
DELETE FROM catalog_url_rewrite_product_category;

Step 3: Once done, let’s open and re-save for each Category migrated in back-end of your site. Magento will re-generate related category and product urls.
And tell me know how it goes.
 
Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments