.htaccess remove duplicate part of a URL
问题 some bug in my online catalog SEF URL generation created a situation where some category slug is added to the URL twice. to fix this i would like to use .htaccess to remove the this part of the URL and have the whole URL shift up one level including URL's which also include a product under them. the duplicate occurrence is of the sub-category painting-tools under the category tools so the wrong URL looks like this: /store/items/catalog/tools/painting-tools/painting-tools or /store/items