Using .htaccess:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index-home(.*)\.html$ /index.html?act=home$1
RewriteRule index-plans(.*)\.html$ /index.html?act=plans$1
RewriteRule index-support(.*)\.html$ /index.html?act=support$1
RewriteRule index-contact(.*)\.html$ /index.html?act=contact$1
RewriteRule index-about(.*)\.html$ /index.html?act=about$1
Using the apache module I have rewritten the default index.html?act=home url of mine to index-home.html. Which gives a mask for better search engine indexing as most search engines prefer simple endings. Of course my case is a very simple method and I don't even use hashes or anything in my custom made pages, but for the more advanced cases webmasters could find mod_rewrite really usefull.
Also some of you may ask why or how I have used the get function (php) with html, well I havn't actually used it with html, again I have utilised apache handlers (in your cpanel) to read php within html files. Heres a quick .htaccess example of this:
AuthName www.shothost.com
AuthUserFile /home/shothost/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/shothost/public_html/_vti_pvt/service.grp
AddHandler application/x-httpd-php .htm
AddHandler application/x-httpd-php .html
Hoep I have helped some of you guys out there trying to improve your search engine performance.
FOor more information visit: Apache


