Contact Us

Welcome to ineedhits Blog

Welcome to the ineedhits Search Engine Marketing blog, where we share the latest search engine and online marketing news, releases, industry trends and great DIY tips and advice.

Monday, April 10, 2006

FAQ: Does PHP Hurt Search Engine Ranking?

Posted by @ 9:19 pm

PHP stands for “PHP Hypertext Preprocessor”, and is an open source scripting language used to create database-driven, dynamic Web content. PHP is an HTML-embedded scripting language, and therefore can be inserted into the HTML of a Web page. In functionality, PHP is similar to ASP (active server page technology).

As such, the search engine optimization techniques regarding optimization of dynamic pages apply to PHP pages. While most search engines have become quite good at finding and indexing dynamic pages, not all search engines support dynamic pages to the extent you would wish for – they might have trouble reading multiple query strings within the URL. So while it generally should make no difference to your search engine ranking whether your page is in HTML or PHP, you might want to use HTML if you want to be on the safe side. Alternatively, try and ensure that your dynamic pages use as few dynamic parameters as possible and try and keep them as short as possible.

For example, instead of

the URL

should be easier to crawl for search engine spiders. A detailed HTML sitemap should also help prevent any crawling problems.

Another option is to use a “mod_rewrite” to convert a dynamically generated URL into a search engine friendly static HTML version. Consult your favorite PHP site on how to do this.

Many webmasters use an include file to propagate meta data (i.e. the meta tags for title, keywords and description) throughout all pages generated from a database. This is not ideal as meta data should be unique and relevant to an individual page. While it does require additional effort and code to store the meta tags within the database, in most cases it is worth the effort.

Discussion (Not Started)

Add Your Comments


Keep up to date with the latest from our blogs.

Subscribe to all blog posts

The Newsletter

  • New Posts
  • Popular
  • Comments


More in Search News (1612 of 1797 articles)

Back in September, we reported that University of New South Wales (Sydney) PhD student Ori Allon filed a patent for ...