I am using the current code on my website:
to request a pasge:
$content = $_REQUEST['p'];
to load the page:
<?
if(file_exists('' . $content . '.php'))
{
require('' . $content . '.php');
}else{
require('error.php');
}
?>
my url be like:
mywebsite.com/index.php?p=home
How can I make this more SEO friendly? Like:
mywebsite.com/home
Thank you.