Custom 404 pages?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chimpie
    Senior Member
    • Nov 2007
    • 292
    • 3.8.x

    [CMS] Custom 404 pages?

    Right now, if someone goes to a bad pageid, the user is diverted to the home page.

    Is there a way they can be sent to a custom 404 page within CMS?
    CHIMPIE | SKYWARN | EMTLIFE
  • Dody
    Senior Member
    • Aug 2004
    • 1896
    • 3.8.x

    #2
    There is no default way to display a custom 404 page.
    while(true){
    if(
    $someone->needsHelp() && $i->canHelp()) $post->help();
    if(
    $i->findBug()) $post->bug();
    }

    Comment

    • PoC
      Senior Member
      • Jul 2008
      • 194
      • 3.7.x

      #3
      We did it using a customised .htaccess file.

      Comment

      • riceboi1230
        Senior Member
        • Nov 2010
        • 158
        • 4.1.x

        #4
        Yes there is a way.
        1. Make an error page and name it 404.html
        2. Save it and upload it into your public_html folder
        3. Go and open the .htaccess file and on the next line, put:
        Code:
        ErrorDocument 404 /404.html
        and then save it and upload it.

        Comment

        Related Topics

        Collapse

        Working...