+ Reply to Thread
Results 1 to 9 of 9

Thread: my custom 404 page wont show

  1. #1
    shadowslash's Avatar
    shadowslash is offline x10Hosting Member shadowslash is an unknown quantity at this point
    Join Date
    Nov 2008
    Location
    Philippines
    Posts
    61

    my custom 404 page wont show

    There's an option in the cPanel to let me modify the error messages shown to users.. I did it and tried to edit the 404 page which is usually what users will see in case of dead links, etc. I saved it and there appeared a 404.shtml page on the root of my public_html folder. I was thinking this is the one needed for it to work. I've tried to put an invalid url on my site and it still shows the x10hosting 404 page... Anybody have a solution for 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,636

    Re: my custom 404 page wont show

    How to change your error pages?

    Quick info on how to create custom error pages.

    The cPanel method seems to have issues at times.
    Nothing is always absolutely so.

  3. #3
    shadowslash's Avatar
    shadowslash is offline x10Hosting Member shadowslash is an unknown quantity at this point
    Join Date
    Nov 2008
    Location
    Philippines
    Posts
    61

    Re: my custom 404 page wont show

    Quote Originally Posted by descalzo View Post
    How to change your error pages?

    Quick info on how to create custom error pages.

    The cPanel method seems to have issues at times.
    Hmm I tried that but when I tried going to an in-existent file, it DID remove the x10hosting 404 page but instead of showing MY 404 page, it gave me this:


  4. #4
    kaiprime is offline x10Hosting Member kaiprime is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    1

    Cual es el mejor lenguaje para diseņar base de datos muy rapidamente

    Estoy buscabndo un buen lenguaje para desarrillar una base de datos muy rapida en un corto tiempo

  5. #5
    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,636

    Re: my custom 404 page wont show

    Wrong:
    ErrorDocument 404 404.html

    Right:
    ErrorDocument 404 /404.html
    Nothing is always absolutely so.

  6. #6
    shadowslash's Avatar
    shadowslash is offline x10Hosting Member shadowslash is an unknown quantity at this point
    Join Date
    Nov 2008
    Location
    Philippines
    Posts
    61

    Re: my custom 404 page wont show

    Quote Originally Posted by descalzo View Post
    Wrong:
    ErrorDocument 404 404.html

    Right:
    ErrorDocument 404 /404.html
    I used

    ErrorDocument 404 /errors/404.html

    But that didn't work.. I also tried

    ErrorDocument 404 /404.html

    but that as well didn't work.. The weird thing though is I tried it once you told me then it worked... After that it didn't agian.... Does the change in .htaccess occur instantly or do I have to wait it out? If I do, how long should I wait it out before my changes appear?

  7. #7
    krofunk's Avatar
    krofunk is offline x10 Sophmore krofunk is an unknown quantity at this point
    Join Date
    Jul 2009
    Location
    In your socks
    Posts
    211

    Re: my custom 404 page wont show

    I you testing the in chrome only or other browsers as well? chrome always seems to handle errors in an odd way....

    If I helped you out then don't forget to give me rep

  8. #8
    lemon-tree's Avatar
    lemon-tree is offline x10 Minion lemon-tree has a spectacular aura about
    Join Date
    Nov 2007
    Posts
    1,420

    Re: my custom 404 page wont show

    but that as well didn't work.. The weird thing though is I tried it once you told me then it worked... After that it didn't agian.... Does the change in .htaccess occur instantly or do I have to wait it out? If I do, how long should I wait it out before my changes appear?
    .htaccess file alterations take immediate effect on the server and you should only have to wait for the file to upload, either through FTP or in cPanel. If it still isn't working, what is the URL location of the .htaccess file and the 404 error file?
    Also, I am getting an error when I access your site that it has moved, as it is seeing the capital letters and thinks the URL is different.

    Edit: It's working fine here now too.
    Last edited by lemon-tree; 06-15-2010 at 11:03 AM.

  9. #9
    shadowslash's Avatar
    shadowslash is offline x10Hosting Member shadowslash is an unknown quantity at this point
    Join Date
    Nov 2008
    Location
    Philippines
    Posts
    61

    Re: my custom 404 page wont show

    Quote Originally Posted by lemon-tree View Post
    .htaccess file alterations take immediate effect on the server and you should only have to wait for the file to upload, either through FTP or in cPanel. If it still isn't working, what is the URL location of the .htaccess file and the 404 error file?
    Also, I am getting an error when I access your site that it has moved, as it is seeing the capital letters and thinks the URL is different.
    I think it's because it's under Lotus which is being moved right now so I can't access it either... x)

+ Reply to Thread

Similar Threads

  1. Ads Wont show
    By Fearghal in forum Free Hosting
    Replies: 2
    Last Post: 10-12-2008, 01:39 PM
  2. favicon wont show
    By coolv1994 in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 12-10-2007, 01:26 AM
  3. My Images wont show up
    By xxyashagothkidxx in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 11-22-2007, 03:01 AM
  4. cPanel wont show up..
    By dEmOn1337 in forum Free Hosting
    Replies: 1
    Last Post: 10-19-2007, 11:57 AM
  5. My site wont show up
    By Lockdown-Wrestling in forum Free Hosting
    Replies: 4
    Last Post: 09-23-2007, 12:36 AM

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