...

View Full Version : Why is this htaccess redirect not working??



Daniellez
01-05-2009, 06:55 AM
What if I wanted to redirect any request such as:

/demos/
/demos/files
/demos/index.php
/demos/files/index.php?action=Register

..to the new directory?...So that ANY request to ANYTHING in /demos will be re-routed?

-------------

***This works...

RedirectMatch 301 ^/demos(.*)$ http://www.mydomain.com/new_dir



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum