1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to write a redirect?

Discussion in 'XenForo Questions and Support' started by jauburn, Mar 4, 2012.

  1. jauburn

    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?

  2. Rob

    Rob Well-Known Member

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

Share This Page