Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
Are you sure? Both of those return 404. – Michael Hampton Oct 5 '12 at 13:45
up vote 1 down vote accepted

You would need to use a RewriteCond against the QUERY_STRING variable.

RewriteCond %{QUERY_STRING}  ^b=(.*)$  [NC]
RewriteRule ^/zakelijk/product/phone$  /zakelijk/product/phone?bundel=%1  [NC,L,R=301]

It might be wiser to do any business-logic redirects in PHP; rather than, complicating HTTPD behavior.

if (isset($_GET['b'])) {
share|improve this answer
Thanks! i used the php redirect and it works perfectly. – Kenneth Oct 11 '12 at 8:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.