How can I use 404 Error Page to Redirect ?

Discussion in 'Google' started by coolvision, Nov 22, 2007.

  1. #1
    Dear Friends I want ot redirect 404 error page to my home page, how can I do this in cpanel ?. Step by step guide will be highly appreciated.

    Thanks in advance.
     
    coolvision, Nov 22, 2007 IP
  2. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #2
    astup1didiot, Nov 22, 2007 IP
  3. wragge11

    wragge11 Guest

    Messages:
    2,222
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Use a Google Friendly 301 Direct!
     
    wragge11, Nov 22, 2007 IP
  4. jasyn

    jasyn Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    would this lead to duplicate content in a search engine's perspective?
     
    jasyn, Nov 22, 2007 IP
  5. googleminigames.com

    googleminigames.com Banned

    Messages:
    1,335
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #5
    first of all what host are you using ..well im guessing there would be a 404.shtml you can edit and just put this code


    <html>
    
    <head>
    <title>Redirecting now...</title>
    </head>
    
    <body>
    <SCRIPT LANGUAGE="JavaScript">top.location="http://googleminigames.com";</script>
    
    </body>
    
    </html>
    
    HTML:

    and save it as 404.shtml

    on your public_html folder on your file manager or FTP

    some hosts use WWW or just nothing at all
    hope this helped

    Change my site to you site
     
    googleminigames.com, Nov 22, 2007 IP
  6. zodiac

    zodiac Peon

    Messages:
    2,661
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #6
    some shared servers use one error file for everybody.
    in that case add:
    Errordocument 404 /404.shtml
    in the .htaccess and then make the 404.shtml
     
    zodiac, Nov 22, 2007 IP