Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom 404 page not working, does anyone know why?

Discussion in 'Website Design Forum:' started by bamme, Oct 21, 2010.

  1. bamme

    bamme Senior Member

    Hi all

    I've tried to implement a custom 404 recently. First off, it worked. Now, it doesnt!

    Im not sure why -- I've attached my htaccess file and also pasted the relevant code here (the custom 404 bit in bold)

    Ive attached the entire file incase its something else in the htaccess file, or the actual placement of the custom 404 bit, thats causing the problem. I've given it a .txt extension incase anyone has problems opening (but I am not using this extension for my actual file!)

    Would be great to get some help here as it's a right pain - we've moved a lot of pages and a custom 404 is most definitely needed for those pages we can't 301.

    Here is the actual 404 page: http://sanyachinatravel.com/notfound.php
    I have the htaccess file in the root folder of the website.

    Thanks!
    Emma
     

    Attached Files:

  2. bamme

    bamme Senior Member

    oops forgot to paste..

     
  3. glenwheeler

    glenwheeler Senior Member

    What CMS is this Emma?
     
  4. glenwheeler

    glenwheeler Senior Member

    You shouldn't have to touch rewrites for the custom page..
     
  5. Levi

    Levi Moderator Staff Member

    it's running on parallels h-sphere by the looks of it glen
     
  6. bamme

    bamme Senior Member

    Its not a cms :/ its done by hand.. I don't really understand what you mean, any custom 404 tutorial says do it with htaccess right.. Sorry bit confused!
     
  7. glenwheeler

    glenwheeler Senior Member

    what are you trying to do with the 404 page? just have it display a custom theme?
     
  8. bamme

    bamme Senior Member

    if you see the link i posted, i made a custom 404 page. it used to work.. im not sure why it stopped. i followed a tutorial which said to modify htaccess in the way shown in bold
     

Share This Page