This one has lot of other options along with java script redirection - http://www.askapache.com/htaccess/l...-different-page.html#redirect-with-javascript
hello you can used according to your conditions <script language="javascript" type="text/javascript"> document.location.href='test.html' </script> Code (markup): or <script language="javascript" type="text/javascript"> window.location.url='test.html' </script> Code (markup): both are used for redirection.