|
Posted by Joshie Surber on 09/09/06 21:16
Yeah, use .htaccess. Google for ".htaccess generator and you will find
several tools that will help you do this.
falagar wrote:
> Sorry for the confusing thread title, I wasn't sure how to call this.
>
> 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
> overhead.
>
> 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
> this?
>
> Any comments or links about that topic are highly appreciated.
>
> Thanks.
>
> Mike
Navigation:
[Reply to this message]
|