Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
September 8, 2006, 9:08 pm
rate this thread
This is my issue:
I design most of my sites with a single index.php file that takes
parameters to decide which pages to include: something like
www.blabla.com/index.php?dir=a&page=b which will include some file in
say ./a/b.html, but will have all the headers and footers that are
defined in index.php.
It could also work that way to have a b.php file in the ./a directory
that would include headers and footers but then I'd have to include
those headers in every single page I write which seems like too much
I was fine with the way I did it but then I read that this is not good
practice, search engines don't like sites with parameters they rather
want the www.blabla.com/a/b.php form.
Is there a way to get this done nicely? How do professional sites solve
Any comments or links about that topic are highly appreciated.