I need to figure out the code on my .htaccess for the following.
Redirect url http://www.mydomain.com/somekw to http://www.mydomain.com/differentkw
also http://www.mydomain.com/somekw?sort=rating&order=ASC to http://www.mydomain.com/differentkw
I have read up about .htaccess but I have very little skills, hopefully someone can help me out.
This should work:
That will change any instance of
somekwofdifferentkw. The GET values will stay there.Just make sure you have
mod_rewriteenabled.