Writing A Formal Proposal Filename
This article is intended for PHP web developers who create template systems for consistently presenting website content. PHP designers who create their own template systems should be concerned about how their choices affect the website s position in search engines. Below is a discussion of three types of systems their impact on search ranking and a recommendation for the best approach. Webpage as a CGI Argument In this architecture one PHP script contains the entire template and plugs in content from a file it reads in - getting the file name from a CGI parameter.
Then copy and paste into the template using Notepad or a similar program. If you see any strange-looking characters on your screen perform a search and replace and convert them to plain text equivalents. Your title should be kept below 60 characters. The line under TITLE (*in the online template*) including the leading letters contains exactly 60. Although most directories permit more for SEO purposes you should keep your title within this limit. Your title is usually displayed in search engine results. Google will show approximately 68-70 characters. However article sites often precede the title with a word like Articles or Content .
Most Popular This Week
This is again because the header portion of templates has to include everything from the opening of the tag to the end of the code for the header portion of the template. And this area includes the title and meta-tags. One workaround for this type of system is to code the top template page to check which file it is being called from and to substitute a suitable pre-coded title. Although effective such a system is cumbersome to maintain as each new page that is published warrants a new title and meta-tag entry in this secondary system. Body-Only Includes The ideal PHP templating system will permit content producers to enjoy the reusability of templates while maintaining unique titles and metadata for each page with ease.
The popular web statistics packages AWstats and Webalizer are most affected by this. However this type of templating system is popular and successfully used in the world of e-commerce. In such systems product information is stored in a database and is inserted into the template when a product is requested by its code. This means that both a unique title and a set of meta-tags can be stored alongside the product data (or generated on the fly) and inserted into the global template effectively. The only detrimental effects that remain are the latter mentioned two and are usually an acceptable tradeoff for the increased ease of administration that a database-driven system provides.