.htaccess - Magento increasing URL rewrites constantly -


i have magento 1.7.0.2 installation , noticed url rewrites have been increasing recently.

for example: request path: product-27x27-4804.html target path : product-27x27-4805.html

all new rewrites custom ones , i've noticed count increases upon reindex.

these new rewrites not valid , junk need clean safely @ same time make them stop appearing again.

any idea? thanks!

there 2 parts this:

  1. cleaning large url rewrite table slow down reindexes.

please backup first!

delete core_url_rewrite category_id not null , product_id not null; 
  1. patching magento prevent issue occurring again. see link below this, don't follow part suggests should truncate whole core_url_rewrite table. remove of custom url rewrites system.

https://magento.stackexchange.com/questions/17553/magento-core-url-rewrite-table-excessively-large


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -