Remove File Extention From URLs In .htaccess
Posted by navaneeth on Mar 7, 2014 in Snippets | No comments yet
# 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