For the fist one posted by nirvana you simply enter the following code where you want your included page to go.
PHP Code:
<?php
switch($id)
{
default:
include('index.html');
break;
case "websites":
include('websites.html');
break;
case "logos":
include('logodesigns.html');
break;
case "smallurl":
include('however_large_long_page_name.html');
break;
case "page4":
include('page4.html');
break;
case "page5":
include('page5.html');
}
?>
Instead of doing this for your links:
HTML Code:
<a href="websites.php"></a>
<!-- You enter THIS code instead... -->
<a href="index.php?id=websites"></a>
<!-- This is especially good when you have a long page name like in the small url example. -->
Original Link:
<a href="however_large_long_page_name.html"></a>
It would Be:
<a href="index.php?id=smallurl"></a>