Hi
I have the following in a .htaccess file
redirect 301 /page.php http://domain.com/page
Which works fine and as expected.
I want to be able to redirect the following
http://domain2.com/page.php to http://domain2.com/page
or
http://domain3.com/page.php to http://domain3.com/page
or
http://domain4.com/page.php to http://domain4.com/page
So basically whatever the domain name is, I want to redirect to it. But the catch is I want to use a 301 redirect. Is this even possible ? Or should I be using RewriteCond and RewriteRule ?