I use php do generate a lot of includes to happen in one file (index.php) and when and ?id=home or something is added on it add an certain include. This technique may save time updating each page and looks good, but bots do not pick up on it and thus not all my pages are listed in search engines.
I need a way to make sure search engines pick up on this.
So I asked dt, who tryed to mess with .htaccess but failed (was 4am at the time) then I asked the newb (segosa) and he said his busy (lasy) and said post a thread in tech talk about using mod_rewrite.
So here, I am doing just that. My current script is:
code:
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if(!$id){ $id = $_GET['id']; }
if($id=="" or $id=="home"){
include("home.php");
}elseif($id=="asmiles"){
include("animatedsmiles/index.php");
}elseif($id=="articles")
?>
That is just part of it there is over a hundred in total. So I basiclly need a way to do ?id=boobs etc in a way bots pick them up better. Thanks