PHP Code:
<?php
if (empty($_GET['id'])) header("Location: index.php?id=Main");
?>
<!-- Content -->
<?php
$fn = "Includes/" . $_GET['id'] . ".php"; if (file_exists($fn)) {include($fn);} else {include("Includes/404.php");}
?>
<!-- Put the above where u want pages to load --!>
Then it's like:
something.php?id=filenamewithout.php