Hi,
I've redesigned a (formerly static) website and put WordPress behind it. Now I want to redirect the former static category pages to the new wordpress categories but it's not exactly doing what I want and I can't seem to fix it myself:
here's an example:
the old url was:
http://www.domain.com/mag/category.php
the new url is:
http://www.domain.com/news/category/
my htaccess redirect rule is:
Redirect permanent /mag/category.php http://www.domain.com/news/category/
and this is where it redirects to:
http://www.domain.com/news/category/?category_name=mag&name=category.php&page=
So the redirection url is fine EXCEPT that it's still adding variables at the end.
Can anyone tell me how I can fix this redirect so t redirects to http://www.domain.com/news/category/ without the variables.
Thanks in advance !