Search Engine friendly urls
Posted: Wed Jun 11, 2003 10:45 am
Hi,
Just read an article about search engine friendly urls.
In a nut shell you replace
?name=value
with
index.php/name/value
and then you use $PATH_INFO to extract the stuff you want and as there is no '?' in it, apparently search engines are quite happy to trawl through it.
Anyway, thought I'd give it a go but my internal IIS server keeps giving me funny errors like :
whilst the external (hosted) Apache/Linux server works !
Is it a IIS thing, an Apache thing or a php.ini thing (I cant get to the hosted php.ini file) ?
Any suggestions would be appreciated !
Whilst the article was quite informative, it didn't cover what would happen if PHPSESSIONID was encountered by the search engines ???????
Just read an article about search engine friendly urls.
In a nut shell you replace
?name=value
with
index.php/name/value
and then you use $PATH_INFO to extract the stuff you want and as there is no '?' in it, apparently search engines are quite happy to trawl through it.
Anyway, thought I'd give it a go but my internal IIS server keeps giving me funny errors like :
Code: Select all
Warning: Unknown(D:\public_html\index.php\dev\same): failed to create stream: No such file or directory in Unknown on line 0Code: Select all
Warning: Unknown(): Failed opening 'D:\public_html\index.php\dev\same' for inclusion (include_path='.;d:\includes') in Unknown on line 0Is it a IIS thing, an Apache thing or a php.ini thing (I cant get to the hosted php.ini file) ?
Any suggestions would be appreciated !
Whilst the article was quite informative, it didn't cover what would happen if PHPSESSIONID was encountered by the search engines ???????