# Method 1:
RewriteRule ^about$ about.php [L]

# Method 2:
RewriteCond /%{REQUEST_FILENAME}.php -f
RewriteRule ^([a-zA-Z0-9_-\s]+)/$ /$1.php

Leave a Reply

Your email address will not be published.