+ Reply to Thread
Results 1 to 6 of 6

Thread: Can you have your own 404 page?

  1. #1
    Steeevoe is offline x10 Sophmore Steeevoe is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Leicestershire [UK]
    Posts
    103

    Can you have your own 404 page?

    Can you have your own 404 error page with x10 hosted website?

    How do you make one for it?
    The above message was posted by a guy called Steevoe. We hope you enjoyed his comment

  2. #2
    driveflexfuel is offline x10 Sophmore driveflexfuel is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    159

    Re: Can you have your own 404 page?

    This is fairly simple.

    Add the following line to your .htaccess file

    ErrorDocument 404 /404.html

    Next simply create a file named 404.html

  3. #3
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: Can you have your own 404 page?

    Either that or use the wizard for error pages found at the base of your cpanel.

  4. #4
    Steeevoe is offline x10 Sophmore Steeevoe is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Leicestershire [UK]
    Posts
    103

    Re: Can you have your own 404 page?

    Ahh thanks, I didn't see the wizard!
    The above message was posted by a guy called Steevoe. We hope you enjoyed his comment

  5. #5
    mattura's Avatar
    mattura is offline x10 Elder mattura is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    563

    Re: Can you have your own 404 page?

    On another site, I managed to incorporate a mis-type corrector using levenshtein distance and an array of all my pages, it's awesome!
    I'd recommend looking up the function and you can do it yourself:
    PHP Code:
    levenshtein($str1,$str2); 
    The above returns an integer roughly corresponding to how 'different' the two strings are. 0 means identical, a high number means very different.
    ----
    Life is a game. The conception is terrible but the graphics are amazing!
    matt.elementfx.com

  6. #6
    Steeevoe is offline x10 Sophmore Steeevoe is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Leicestershire [UK]
    Posts
    103

    Re: Can you have your own 404 page?

    Good idea Matt, that will come in useful :D
    The above message was posted by a guy called Steevoe. We hope you enjoyed his comment

+ Reply to Thread

Similar Threads

  1. Use PHP to add Content to page through Admin
    By goldy30 in forum Programming Help
    Replies: 1
    Last Post: 11-12-2008, 11:13 PM
  2. Unique php page
    By bunglebrown in forum Programming Help
    Replies: 48
    Last Post: 11-08-2008, 08:59 AM
  3. Replies: 0
    Last Post: 10-19-2008, 09:40 PM
  4. Passing variables from page to page
    By os242 in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 09-15-2007, 02:05 PM
  5. Ads on Every Page?
    By ThaoD in forum Free Hosting
    Replies: 5
    Last Post: 08-23-2005, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers