Got dynamic content on your website, but the search engines won't crawl it? Don't like the look of the ?page=home ?
OR
Ever changed the template of your site? Is your site set up so that if you want to change anything, you have to edit every individual page?
Put your own content in the same folder as your index.php and reference it like this:
http://www.mydomain.com/index.php/games.php or
http://www.mydomain.com/index.php/my_site.php
OR
Ever changed the template of your site? Is your site set up so that if you want to change anything, you have to edit every individual page?
PHP:
<html>
<!-- Put the top of your template here -->
<?php
$url = $_SERVER['REQUEST_URI'];
$url = explode("/",$url);
$page = $url[count($url)-1];
if ($page != "index.php") { // You may want to change index.php to the page you're actually using
include($page); // You can include files from another directory with include("directory/".$page);
}
else {
include("home.php"); // Change home.php to your default page
}
?>
<!-- Put the bottom of your template here -->
</html>
Put your own content in the same folder as your index.php and reference it like this:
http://www.mydomain.com/index.php/games.php or
http://www.mydomain.com/index.php/my_site.php