|
php template and searchability
Date: 01/11/06
(PHP Development) Keywords: php, google
I would like to build a site using php that has several repeated elements (headers, footers, menu) that appear on every page, with only the central content and some of the styling (to highlight menu items) changing.
It works well so far, but a friend tells me that this method is less search-friendly than coding out each individual page and that it will be ignored by Google. Is this true?
Also, give then common-template model, is it better to:
- Load all pages from a single php file with page-specific content in individual functions
- Load each page with its own content and use includes for common elements
- Have a central controlling php file that assembles each page by includes from a separate file for each part (header, content, footer, etc)
- Make each page a complete static unit with duplicate headers, footers, etc identical to other pages.
I can make any of these work, though #4 seems highly tedious. I just want opinions on which ones are considered more efficient and more "searchable."
Source: http://community.livejournal.com/php_dev/63147.html
|