Forum Moderators: coopster
[httpd.apache.org...]
if you're looking for php solution you might look for redirect instead of rewrite.
in both cases there should be many solutions already posted in this forum.
e.g.
<?php
// add conditional code if you wish,
// you would replace the string below
// with a variable that depends on the
// parameters passed to the script
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.example.com/");
exit;
?>
You will need to learn about the following:
How to create a simple PHP script.
PHP variables, probably strings is a good start.
The IF command.
Headers, as hinted in my previous post.
Good luck