RewriteEngine On RewriteRule ^(.*)\.htm$ section.php?p=$1