MyBB Central

Full Version: Hide extension
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys I wanted to know, is there a way to hide the .php, .html, etc. extensions? I went into my .htaccess and I tried
Code:
RewriteEngine on
RewriteCond /%{REQUEST_FILENAME}.php -f
RewriteRule ^([a-zA-Z0-9_-\s]+)/$ /$1.php

And it works IF you get directed to it, say if i goto a board
w*w.*******.c*m/forumdisplay.php?fid=3

I want it to look like

w*w.*******.c*m/forumdisplay?fid=3