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!

Do you know how to redirect 404 error [moved]

Discussion in 'General Discussion' started by hardjoko, Sep 7, 2005.

  1. hardjoko

    hardjoko Active Member

    Joined:
    Jun 22, 2005
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    156
    Do you know how to redirect 404 error

    to a specific page?

    This is my .htaccess file. Notice the ErrorDocument 404 /rd.htm line that should redirect all 404 message to http://howtolearnmath.com/rd.htm


    It doesn't work though.


    # -FrontPage-

    ErrorDocument 404 /rd.htm

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*


    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.howtolearnmath.com
    AuthUserFile /home/howtolea/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/howtolea/public_html/_vti_pvt/service.grp
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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