Custom 404 Error Page Tutorial: .htaccess file tip for PHP MySQL Site

ErrorDocument 404 /filenotfound.php Little handy .htaccess file tip for all you guys creating dynamic websites on Apache, PHP, MySQL, etc… Create and design your own custom 404 missing document pages.

Both comments and pings are currently closed.

24 Responses to “Custom 404 Error Page Tutorial: .htaccess file tip for PHP MySQL Site”

  1. dcallstar51 says:

    for the filenotfound.php does it have to be a php page or can it be html?

  2. ThatKidKnows says:

    lol /poopoo.html XD

  3. tpclhk says:

    lol u like “poopoop” so much haha, anyway thx, really useful tut

  4. xXZarlachXx says:

    I tried to do this… turns of to just mess up the whole website… even if i click a link to a normal page thats available.. i tried with html instead of php

  5. xXZarlachXx says:

    im wondering about the same… becuase all my website is mostly created with html….

    i will try to find out if it works

  6. joseph3112 says:

    Can I point this to a .html page?

  7. helpvid says:

    ErrorDocument SPACE 404 SPACE /filenotfound.php

  8. helpvid says:

    can I use my template page with the error message

  9. lego312 says:

    Did you make a file called… “Filenotfound.php” or whatever you wanted it to link to?

  10. lego312 says:

    -Haay

    Try adding an extra “s” to the end of acces

  11. HaayHomo says:

    Didn’t work :/

  12. nuzattack says:

    great job guys…..

  13. lucas199400 says:

    Well done addy!

  14. runescapeswordshow says:

    i like teh monkey ones XD

  15. ddoodm says:

    Same thing as Adam does in this vid. :)

  16. ddoodm says:

    Simple, but great for teh n00bz! :D

    Love it! I think Godaddy’s Linux servers do this automatically anyways! :D Just gotta make a document called Error.html or something like that. :)

    Great vid!

  17. flashbuilding says:

    I should too on all my sites. No matter how big it is a classy touch. Never know… I might come to your site and type in poopoo.html… lol

  18. thunderwoman says:

    Even though I do have a tiny site, I’ll give this a go. Why not?

  19. XxKakuzuDeidaraXx says:

    the 1st part was a tip for your website, it was that youtube says that this account has been deleted…. and does all this need actionscript 3?

  20. flashbuilding says:

    Huh? Come again…

  21. XxKakuzuDeidaraXx says:

    o and for your websites for people who deleted their account, it takes them to the homepage and and says that their account was deleted/ suspended…. and does this need action script 3?

  22. XxKakuzuDeidaraXx says:

    3rd comment XD

  23. Flashfarm says:

    hey adam been wondering how you made ur intro

  24. cartoonking3 says:

    how do you program that error message
    1:02 ?