View Single Post
  #2 (permalink)  
Old 2004-05-17, 12:56 PM
harvey harvey is offline
Junior Member
 
Join Date: Mar 2004
Location: Canton, NY
Posts: 9
harvey
Send a message via AIM to harvey Send a message via MSN to harvey
Default

For anyone interested in this topic, there is a way to add keywords for each page. It is not automated. It would be great if there was a way to code PHP to pull keywords automatically from the content areas of a web page (actually, I assume there is) but the manual way will work for now.

In the php document, place this information:
Code:
<?php 
$pgKeywords="really cool stuff,information,important site";
In the PHP sitewide header or wherever you include the HEAD tag, place this info:

Code:
<meta name="keywords" content="<?php echo $pgKeywords ?>">
Simple, efficient, and a done deal.

Harvey Ramer
http://www.desdel.com
Reply With Quote