I want to redirect old url(https://xklsv.me/viewblog.php?title=plant-trees%2Faranya_kfd%2Fplant-trees%2FSeptember-14th-2019) into new url (https://xklsv.me/plant-trees/aranya_kfd/September-14th-2019) for a website(Permanent Redirect 301).
There are more than 10,000 pages in this case.
I can not do a RewriteRule for each existing page. Is there a way to perform a RewriteRule using a regular expression?
For example: I want to redirect an URL like https://xklsv.me/viewblog.php?title=plant-trees/aranya_kfd/plant-trees/September-14th-2019 to https://xklsv.me/plant-trees/aranya_kfd/September-14th-2019