Dynamic Website (how to make one)
It is very simple to make a dynamic website, but your host has to support PHP.
Add this code where you want your sub-sites to appear:
PS. The index file has to be index.php !
if (isset($_GET['site']))
{
include $_GET['site']."php";
}
else
{
include "default.php";
}
?>
Make a default.php file that will appear when someone visits a first page.If you want to make a link to a let say about me simply make it like this:
About me
And add a site about_me.php in same directory as index is
Of course having a dynamic websites and addresses like index.php?bvlajsdflkj=asdfjl&alsdkfj=adskfja234 is not really SEO friendly ![]()
That is why I will soon show you how to use a rewrite ![]()
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


Leave a Reply