We have site in plain html file and some time we want to use clean URLs or Pretty URLs for our site.
Clean URLs are in demand becasue of Seach Engine Optimiztion.
You can achive the Clean URLs. With not doing rework of building site.
Requirement:
Apache Server.
mod_rewrite engine need to on.
Create .htaccess file
and copy paste the following lines
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
#code for About us Page
RewriteRule ^about-us(\d+)*$ ./about.html$1
Put this file into your root folder.
What this will do?
For example I want
www.example.com/about.html to look like www.example.com/about-us/
This is a good write-up, I found your website researching aol for a related subject matter and came to this. I couldnt come across to much additional material on this write-up, so it was good to locate this one. I will end up being back to look at some other articles that you have another time.