What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-18 07:04:06
php remove extension from url
//put this piece of code in the root file .htaccess RewriteEngine on #remove extension html RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html [NC,L] #remove extension php RewriteCond %{REQUEST_FILENAM... Add solution -
PHP 2021-09-24 15:02:02
remove .php from url
//put this piece of code in the root file .htaccess RewriteEngine on #remove extension html RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html [NC,L] #remove extension php RewriteCond %{REQUEST_FILENAM... Add solution -
Other 2021-09-03 10:33:02
htaccess remove file extension
//put this piece of code in the root file .htaccess RewriteEngine on #remove extension html RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html [NC,L] #remove extension php RewriteCond %{REQUEST_FILENAM... Add solution