Code for remove .html extension
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
if u want remove .php extension then use this code
Code for Php extension remove –
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Watch video How to remove .html and .php from url online without registration, duration hours minute second in high quality. This video was added by user Gajabwap 10 November 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 140 once and liked it 15 people.