You are here: Dynamic pages without with directory structure instead of parameters « PHP Programming Language « IT news, forums, messages
Dynamic pages without with directory structure instead of parameters

Posted by falagar on 09/08/06 21:08

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация