How to make .html extensions ?

AAWebDev

BANNED
Joined
May 20, 2012
Messages
751
Reaction score
79
Hello, i wanted to know how to make .html extensions to the threads in vBulletin?
my settings are -
mod rewrite is on in admin cp
RewriteRule ^threads/([0-9]+)-(.*)? showthread.php?t=$1.html - in the htaccess file
still not getting .html as extension end of thread link.
Suggestions ?
 
AFAIK vbulletin is not static html and uses php.
You can't just rename your .php files to .html and expect it to work
 
here is an example i found online:

Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.+)\.ext$ /$1.php [NC,L]

google it for the original source. it will change to ext instead of php, but If you mess with it I'm sure you can change it to html
 
Back
Top