Wednesday, March 09, 2005

PHP Search Engine Optimization

Optimizing a website for PHP can be a challenge. Often the code created does not allow for proper Titles, Meta Tags, or Descriptions (like HTML homepages do). If you are careful and create dynamic Titles that match the key words and content in your dynamically produced code, you will have more luck. If a website contains a great number of pages, dynamically produced, with the same Title and Description Tags - chances are SE's won't pay much attention to them. Site Maps also help greatly in this department. If the number of dynamically produced pages is not too enormous; one can create HTML with proper anchor text, in a site map that points to the dynamically produced code. This creates a road map to these otherwise lost pages, and helps them develop relevance. If the number of dynamically produced pages is in the hundreds or thousands, you will have to restructure your Title in the relevant .php to incorporate some way of pulling a key word data variable, either from the database, or some other routine. Fortunately there are usually forums full of users for each PHP script (if popular)out there. Making the database output SE friendly is usually a hot topic in most forums.



* I have replaced the "<>" in the Title tag with [ and ].

It is an acceptable practice, as a minimum, to add that same data to the Description. This dynamic Title is usually a call to a function in your "common.php" document for the application. In this example, a real estate website calls to a function to place the address of the property right in the Title. The address could be added into the Meta Description, as well. For each property listing, there will then be a unique Title and Description.

Resources:

More info on PHP and Search Engine Optimization.

  • Check out www.seo-into.com for fee service MOD Re-Writes that handle PHP and Search Engine Optimization issues.
  • The very cool, ad free informative PHP Tools Page, by Gary White.
  • Thinking about a complete site switchover? Check out this FREE blog script , b2evolution featuring multiple blogs, categories/sub-categories, skins, search function, multiple languages, search engines friendly URLs.
  • Here is are two CMS systems definately worth noting: pMachine and Geeklog.

More to Come! Add a Site!

0 Comments:

Post a Comment

<< Home