Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 06:24 am EDT

Geeklog Forums

How do you get the 404.php to show on a 404 error?


Ultyma

Anonymous
www.cornerstonestudios.net is my site, if you try going to a page that doesn't exist it doesnt goto the 404.php file.

Any help?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Create a .htaccess file and put this line into it:
Text Formatted Code
ErrorDocument 404 /404.php
 

Assuming, of course, you're on the Apache webserver and you're allowed to change the 404 page ...

bye, Dirk
 Quote

All times are EDT. The time is now 06:24 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content