Not Found 404 setting it up

Discussion in 'Site & Server Administration' started by joujoba, Apr 9, 2010.

  1. #1
    hello

    i want to make any 404 error page not found redirects to my main site url and not just show the 404 error page.
    how can i set this up please?
    information: I'm using plesk 9.3.0

    thank you
     
    joujoba, Apr 9, 2010 IP
  2. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    any help please?
     
    joujoba, Apr 10, 2010 IP
  3. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Use .htaccess and insert that line in the beginning of your .htaccess file:
    ErrorDocument 404 /404.php

    404.php your actual error page use can also use 404.html or something else what can be executed with web browser.
     
    casius, Apr 14, 2010 IP