Results 1 to 4 of 4

Thread: http redirect?     submit to reddit submit to twitter

  1. #1
    Salvage Bans
    Join Date
    Jan 2005
    Posts
    871
    BG Level
    5

    http redirect?

    Hello,

    I'm trying to set up an http redirect for 404 error pages because we recently uploaded our new website and old pages are still ammended to google which can no longer be found.

    example: http://www.valleylinks.net/content.p...ssHeaders=true

    In the Cpanel I have an option for error pages and a button to add a redirect which adds this tag to the text box:

    Code:
    <!--#echo var="HTTP_REFERER" -->
    What do I have to add to make it refer to www.valleylinks.net?

    edit: It doesn't seem like anything I add to the 404 error page changes anything from the default.

  2. #2
    Relic Shield
    Join Date
    Oct 2006
    Posts
    1,599
    BG Level
    6
    FFXI Server
    Odin

    The only way I know is to .htaccess it.

    Read about it here.

    http://www.besthostratings.com/artic...documents.html

  3. #3
    Sea Torques
    Join Date
    Oct 2006
    Posts
    704
    BG Level
    5
    FFXI Server
    Carbuncle

    You need to use the META REFRESH tag in your 404 page.

    http://webdesign.about.com/od/metata.../aa080300a.htm

  4. #4
    Salvage Bans
    Join Date
    Jan 2005
    Posts
    871
    BG Level
    5

    Thanks,

    writing: "ErrorDocument 404 /notfound.html" in .htaccess

    then creating the html document worked.