Home
Programming Languages
Networking
Web Technology
Testing
OS
Database
Search Engine Optimization
Interview FAQs
Free eBooks

Submit Your Website To Top Search Engines

You can submit your site to top search engines free and automatically at Submit Corner. Or, you can manually submit to the most popular search engines at Google , Yahoo & MSN .

How To Write Search Engine Friendly PHP Pages?

Search Engine usually likes static html page rather than dynamically php page. In unix or linux environment, we can use Apache's mod_rewrite to redirect php page to html page. There are various ways to do it. I will give you some reference in the end. Below is my method. First, you need to install Apache's module mod_rewrite. Then, you need to allow per-directory configuration by editing httpd.conf.�

�� <Directory />
�� AllowOverride All
�� </Directory>

Now, you can edit your .htaccess file to rewrite php page as html page. For example, at http://onlinedegree.usamums.com/, the .htaccess file is:

RewriteEngine On

RewriteRule ^schooldegree/(.*)/(.*)\.html$ schooldegree.php?schooldegree=$1&schoolsubject=$2
RewriteRule ^schooldegree/(.*)\.html$ schooldegree.php?schooldegree=$1
RewriteRule ^schoolinfo/(.*)\.html$ schoolinfo.php?schoolname=$1
RewriteRule ^schoollocationinfo/(.*)\.html$ schoollocationinfo.php?schoollocation=$1
RewriteRule ^schoollocationUSinfo/(.*)\.html$ schoollocationUSinfo.php?uslocation=$1
RewriteRule ^schoolname/(.*)\.html$ schoolname.php?start=$1
RewriteRule ^schoolnameorder/(.*)/(.*)\.html$ schoolnameorder.php?schoolnameorder=$1&start=$2
RewriteRule ^schoolnameorder/(.*)\.html$ schoolnameorder.php?schoolnameorder=$1
RewriteRule ^schoolsubject/(.*)\.html$ schoolsubject.php?schoolsubject=$1

RewriteRule ^(.*)\.html$ $1\.php

Well, this methods will have some adverse effect in performance and security. Below are some references.

Mod_Rewrite Examples -- From Book Practical Mod_Perl
Search Engine Friendly PHP Pages -- By John Coggeshall
Search Engine Friendly URLs --By Chris Beasley
Search Engine Friendly Links --By Red Squirrel

Ingredients of a Search Engine Friendly Site --By David Wallace

Search Engine Optimization 101

Google
Hosted by www.Geocities.ws

1