How to write a redirect?

jauburn

Well-known member
What's the best way to write a redirect (htaccess or cpanel) to send *all* pages of a domain to a *single page* (of instructions, ending in php) of another domain?

Thanks!
 

Rob

Well-known member
This should work for you:- (.htaccess)
Code:
RedirectMatch 301 ^/$ http://www.yoursite.com/yourpage.php
 
Top