My Hompeage is loading the sites with this script:
<?php
if(!isset($_GET['id'])) $id = 'home';
else $id = $_GET['id'];
include($id.'.php');
?>
Does anybody of you have an idea, how to connect a 404 error page with it? Means, if Php can't find the page it will send the user to a 404 page.
Thanks for your help!