MyBB Community Forums
[How To?] how to remove .html extension - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] how to remove .html extension (/thread-213665.html)



how to remove .html extension - poseidon1337 - 2017-10-19

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


RE: how to remove .html extension - Brian. - 2017-10-19

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.


RE: how to remove .html extension - csgo558 - 2017-10-21

(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