Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] how to remove .html extension
#1
Not Solved
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
Reply
#2
Not Solved
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.
Reply
#3
Not Solved
This user has been denied support. This user has been denied support.
(10-19-2017, 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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)