|
Posted by Adam Plocher on 01/18/06 19:25
I personally use a single index.php file for everything, but I have
mod_rewrite setup on apache to convert urls like:
mysite.com/index.php?nav=news&id=12
to
mysite.com/news/12
this solution makes it easy to maintain (since it's all in one central
file) and also will make it "search engine optimized". from what I
understand, for the most ideal SEO, you shouldn't put everything into a
single file, but mod_rewrite will act like it's using a complex
directory structure, even though it's really not. If you're interested,
I can send you the lines I used for mod_rewrite.
[Back to original message]
|