MyBB Community Forums

Full Version: how to remove .html extension
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i have a url called http://www.luminus.tk/features.html and would like to know how to make it into http://www.luminus.tk/features thanks
In you .htaccess file please add

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.html$ /$1 [L,R=301] 

As for removing of .html from the url, simply link to the page without .html


<a href="http://www.example.com/page">page</a>

NOTE: You shouldn't be using a free domain. DOT.TK has a bad REP just look up reviews you will find out.


Please add the “Powered By MyBB” message back to your foum if you don’t you will be denied support. See : https://mybb.com/support/eligibility-policy/

If you need anymore support please reply.
(2017-10-19, 10:54 PM)Brian. Wrote: [ -> ]In you .htaccess file please add

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.html$ /$1 [L,R=301] 

As for removing of .html from the url, simply link to the page without .html


<a href="http://www.example.com/page">page</a>

NOTE: You shouldn't be using a free domain. DOT.TK has a bad REP just look up reviews you will find out.


Please add the “Powered By MyBB” message back to your foum if you don’t you will be denied support. See : https://mybb.com/support/eligibility-policy/

If you need anymore support please reply.

It is hacking forum he will get support denied for that too