Hi, I want to re-write domain.com/videos.php?q=f&f=/FOLDER NAME to domain.com/folder-name.html Please Tell me how it is possible. it will be your highness if you make and PM/reply that coding of .htaccess file here.. Billions of Thanks !
This thread in the apache forum should help you: http://forums.digitalpoint.com/showthread.php?t=23044 Why not learn it instead of asking for the answer ?
If you really dont wish to learn then only please see below RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ videos.php?q=$1 [L,QSA]
You Given Code will re-write .html pages right ? I mean Will this code re-write the the domain.com/videos.php?q=f&f=/FOLDER NAME to domain.com/folder-name.html