We had an issue where we deleted a category by mistake and we have that URL sent out to all our customers.
I recreated the category on a different page and when using the same URL as the deleted category and it kept sending me to a 404 page.
I also tried doing a URL rewrite in Magento to the new category and that didn't work either.
Also tried below code in .htaccess
RewriteRule ^performance-training/recovery-flexibility-10.html /injury-rehab-prehab/recovery-flexibility.html? [L,R=301]
Has anyone any idea why:
Using the old url for the new category won't work
The Magento URL redirect isn't working
The ,htacess code isn't working?
There will be a Magento cache issue. Please flush your Magento cache and try again.
If you find our reply helpful, please give us kudos.
An award-winning North American Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support TeamGet a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9