Using blow code you can remove all .html Just add this code in your root location .htaccess ————————————- RewriteEngine on RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC] RewriteRule ^ /%1 [NC,L,R] RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^ %{REQUEST_URI}.html [NC,L] —————————– old URL yourwebsite.com/about-us.html New URL yourwebsite.com/about-us

Read More