Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Page redirection

Discussion in 'General Discussion' started by moFBush, Jan 13, 2006.

  1. moFBush

    moFBush Well-Known Member

    Dec 31, 2005
    Likes Received:
    Trophy Points:
    I have a VPS running Fedora Core 2 over at
    Running: WHM 10.8.0 and cPanel 10.8.1-5114

    I've setup an account called mofclan which is all setup and using

    I'd like to setup my website to load when a user goes to . Currently I have to use HTML code and i've had reports of this being slow. My code is below maybe there is a better way to code this, not sure but i am looking for a faster way to get them from ->

    <title>Redirection to MOFCLAN.NET Portal</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="Refresh" content="0;url=">
    Also, I'd like to see this happen without having to move any of the directories on the account!
  2. dkz

    dkz Well-Known Member

    Sep 10, 2004
    Likes Received:
    Trophy Points:
    You can try .htaccess redirection and see if that is faster.

    RedirectMatch permanent ^/$

    Just place the above code in a file called .htaccess and upload it into your www folder.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice