Apache .htaccess Assistance -



Apache .htaccess Assistance -

i'm not sure if utilize of .htaccess file or not need create in browser, if visit illustration page on website, in address bar, shows mydomain.com/about rather mydomain.com/about.html/.php/.whatever. how this?

to hide file extension, .htaccess should this

hide php extension example

rewriteengine on rewritecond %{request_filename} !-d rewritecond %{request_filename}\.php -f rewriterule ^(.*)$ $1.php

to hide multiple file extension, re-create line 2 4 , apply different extension.

apache .htaccess

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -