Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how hide .html in url

## You need put this in .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC, L]
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #hide #url
ADD COMMENT
Topic
Name
8+2 =