I'm trying to gracefully handle old urls with variables and redirect them to either a home page or a new corresponding (non-variable) url of my site.
An example composition of urls I have that I need to redirect:
What should not matter is the actual value of the variable, because there are literally hundreds of them. Ideally, the modrewrite should be a catch-all regardless of the variables value.
An example of a corresponding page for store pages will be:
while the forum/comments.php will simply go to the home page of the site.
I really appreciate the help.