Search Engine Friendly Urls generation with PHP?
Posted: Fri Jan 11, 2008 8:09 am
Can anyone tell me if it is possible to use PHP code to make/generate search engine friendly urls?
The site I am working on is on Windows server and I use switches to navigate through the site, like:
So when I go to about page, the url is: http://site.com/index.php?page=about which isn't search engine friendly from what I read.
btw: where has the cool php code highlighter gone?
The site I am working on is on Windows server and I use switches to navigate through the site, like:
<?php
switch($_GET['page']){
case 'about':
$include= 'about.php';
break;
case 'contact':
$include = 'contact.php';
break;
case 'info':
$include = 'info.php';
break;
default:
$include = 'index.php';
}
include($include);
?>
So when I go to about page, the url is: http://site.com/index.php?page=about which isn't search engine friendly from what I read.
btw: where has the cool php code highlighter gone?