Hello,

On 06/08/2004 11:20 AM, Edward Peloke wrote:
Just curious as to how people handle search engine optimization when most of
the page content is dynically built from the db.  Doesn't the bots need to
crawl the static pages and match your keywords to actual words in the file?

Practically, only Google matters these days as most sites get over 70% of leads from Google.


For Google, it matters that your pages are served as fast as possible. If your pages are taking too long to be served, Google assumes it is causing too much load to your site and slows down giving more time between crawls.

There is a myth regarding the interpretation of this explanation for Google not indexing dynamic as many site pages because of the use of URL with query parameters (?some=thing&this=too).

http://www.google.com/webmasters/2.html#A1

Query parameters is is not the reason why Google does not index so many pages. I can demonstrate that just by let you see that Google indexes for 700.000 pages of php.net, many of which have many query parameters:

http://www.google.com/search?q=site%3Aphp.net

So, do not bother with all those bogus advices telling you to use URL rewriting because that is not what matters. What matters is that your pages are served as fast as possible cause as less load to your server as possible.

If your pages are generated with content taken from a database, you would better use some content caching to avoid spending too much time making repetitive database queries which is usually your site's bottleneck.

You may want to try caching whole pages or just parts using for instance this class. It is very robust as it uses file locking to prevent cache file corruption during updates that may happen during surges of many simultaneous users accesses:

http://www.phpclasses.org/filecache

If you can, also use some PHP script caching engine, like for instance Turck, which is free and provides great PHP execution speed up by avoiding the implicit PHP script compilation step:

http://turck-mmcache.sourceforge.net/

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to