How to do a htaccess rewrite with a question mark ? in the original url

Posted by Joe Fletcher on Stack Overflow See other posts from Stack Overflow or by Joe Fletcher
Published on 2010-05-27T23:36:28Z Indexed on 2010/05/27 23:41 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

I've got to redirect a URL that has a question mark in it, and I just can't figure out the proper .htaccess code to make it happen.

Example: redirect 301 /home.php?cat=16 http://www.example.com/furniture.html

I believe I need to do a rewrite condition, but I'm no htaccess expert.

© Stack Overflow or respective owner

Related posts about web-development

Related posts about apache