Closed Thread
Results 1 to 4 of 4

Thread: Custom error page does not work anymore, four weeks ago it worked. How do I fix this?

  1. #1
    jfrancis79 is offline x10Hosting Member jfrancis79 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    81

    Custom error page does not work anymore, four weeks ago it worked. How do I fix this?

    I made a custom error page that is very basic, witch says "404 Page not found" and that URL to my error page is http://afn.me/404.php , however when I type in page or directory that does not exist, it does not display my custom error page it displays x10hosting's error page. How do I fix this?

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Custom error page does not work anymore, four weeks ago it worked. How do I fix t

    Make sure you have a line like:

    Code:
    ErrorDocument 404 /404.php
    In .htaccess
    Last edited by descalzo; 08-30-2011 at 07:22 PM.
    Nothing is always absolutely so.

  3. #3
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: Custom error page does not work anymore, four weeks ago it worked. How do I fix t

    He does, I'm pinging an admin to see if something's been changed recently.


    Edit: Nothing's been changed but it looks like the custom page is working again from here, I don't get the x10hosting one.
    Last edited by Livewire; 08-30-2011 at 11:01 PM.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  4. #4
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: Custom error page does not work anymore, four weeks ago it worked. How do I fix t

    Mini-update: near as I can tell the problem lies within cPanel not making the .htaccess file that points to the error documents; you should be able to edit them like Descalzo showed, and if you want to use the ones you already made in cpanel, use their filenames (errorcode.shtml, such as 404.shtml). Doesn't necessarily have to be php.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

Closed Thread

Similar Threads

  1. Custom Error 404 page
    By gdebojyoti.mail96 in forum Free Hosting
    Replies: 1
    Last Post: 08-22-2011, 02:55 AM
  2. Custom 404 Error Page?
    By cybrgms in forum Free Hosting
    Replies: 7
    Last Post: 04-06-2009, 08:58 PM
  3. Custom Error Pages dont work and never have?
    By cursedpsp in forum Free Hosting
    Replies: 2
    Last Post: 08-14-2008, 04:07 PM
  4. Custom Error Page
    By jdmrace in forum Programming Help
    Replies: 4
    Last Post: 03-21-2008, 08:58 AM
  5. Custom 404 error page
    By Mei-Angelz in forum Free Hosting
    Replies: 2
    Last Post: 10-22-2006, 03:08 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