Active Articles: 2038
Total Categories: 16
Sub Categories:616
![]() |
|
PHP, SEO, And Spiders - Oh My! |
|
| Date Added: July 05, 2004 11:59:38 PM | |
| Author: Ian Wilson | |
| Category: Tips and Tutorials: PHP Tips and Tutorials | |
Search engines are constantly evolving and adapting in response to changes in the way information is presented on the web. Strategies that were once necessary to ensure inclusion of PHP pages are no longer required. It was once helpful to generate a static HTML version of a PHP page so that all the ""includes"" could be indexed. Now search spiders ""see"" all the content on a PHP page, the same way it is viewed in a browser. It used to be prudent to avoid dynamic URLs containing ""? & ="" - now, the search engines list URLs with the dynamic variables. However, it is best to compose them with no more than three variables. Some variable-laden URLs may be listed, but without any accompanying content/description, in the search results... Stay tuned for further developments as the search engines refine their methods. With many hosts running the popular Apache server, developers are expanding the use of PHP by modifying the .htaccess file to allow PHP code processing within HTML documents, and enabling shorter URLs with fewer variables by configuring httpd.conf. Your web hosting provider's support team should be able to tell you if these features are available for your site. Implementing a common-sense approach to SEO for your PHP site requires cooperation and coordination among the developer, webmaster, and web host. Beware of ""SEO Experts"" with ""secret methods"" and ""guaranteed results"" - gimmicks that kludge the search spider today might hurt your ranking tomorrow. A descriptive and catchy page title is one of the key elements of SEO - whether or not your site uses PHP - since it becomes the linked title of your search engine listing. Use the name of your site in the title to encourage branding, along with a brief capsule about the specific page. Remember that the title displays at the top of the browser window and in the menu bar, so keep it brief, less than 160 characters. Avoid using identical titles on multiple pages (this can easily happen with dynamically generated titles) because they may not be listed individually, and if they are listed separately, it's confusing. Meta tags for description and keywords have become less crucial to SEO - but that doesn't mean you should forget about them. The basic principles of SEO that apply to static HTML sites also apply to dynamic PHP sites: ● Provide engaging and valuable content presented in an attractive design. ● Code should be error-free and standards-compliant. ● Use keywords appropriate to your subject matter - don't be tempted to use ""tricks"" that might end up hurting your search engine listing. ● Encourage repeat visits with frequent updates, interactive features, membership sign-up, opt-in newsletters and, if appropriate, ""freebies"" - contests, giveaways, downloads and other resources. ● Encourage linking to your site with copy & paste code. Reciprocal links build partnerships and enhance page rank, but avoid hosting bulky ""link farms"" and other venues for worthless web site spam. ● Make use of tools provided by the search engines, such as creating a sitemap. ● Educate yourself by reading the search engine faqs, as well as by perusing some independent forums for SEO tips and methods. Here are a few resources for further information: Optimizing Dynamic Content http://www.highrankings.com/issue065.htm#seo Building Dynamic Pages With Search Engines in Mind http://phpbuilder.com/columns/tim20000526.php3 High Rankings(r) Search Engine Optimization Forum > Technobabble > Dynamically Generated Site Issues http://www.highrankings.com/forum/index.php?s=c5e371a3bec60ac7e650447c430abfd4&showforum=25 Digital Point Forums > Marketing > Search Engine Optimization > PHP, HTML does it matter? http://forums.digitalpoint.com/showthread.php?t=53280 Parsing PHP in .html Files http://www.desilva.biz/php/phpinhtml.html About The Author Ian Wilson is a support analyst for http://ApolloHosting.com, http://www.apollohosting.com. Mr. Wilson brings years of experience in coding and system administration to the Apollo Hosting support team. Apollo Hosting provides website hosting, ecommerce hosting, vps hosting, and web design services to a wide range of customers. RELATED ARTICLES & TUTORIALS
This article is written by daBoss. daBoss is the Webmaster of Designer Banners. daBoss can be contacted at sales (at) designerbanners (dot) com. PIM Team Case Study: Creating Text Effects With PHP and GD See how you can create graphic effects on text with PHP and GD - drop shadows, arcs, fonts and colors. PHP and Cookies; a Good Mix! Cookies have long been used in PHP scripts, and are a very useful function. But what exactly are cookies? Maybe you have used then, but you still don't know exactly what they are. Or you are completely new to cookies? It doesn't matter, because in this tu Search Engine Optimizing PHP Scripts PHP pages have a reputation of being more difficult (or at least different) to SEO than static HTML pages. Here’s an overview of the major issues encountered when trying to optimize PHP script for search engines. While this focuses on PHP much of it is st HTACCESS Wrappers with PHP HTACCESS is a remarkable tool you can use for password protection, error handling (like custom 404 pages), or HTTP redirects. It can also be used to transform whole folders in seconds: adding header... |
|
|
|
|
|
The views and opinions of authors expressed on Zeronese Webmaster Article Directory web sites do not necessarily state or reflect those of the Zeronese.net . |
|

