.htaccess to remove .php extenssion in not working -
before posting here i've tried solutions url1, url2 not fixed yet. .htaccess code this:
rewriteengine on rewritecond %{request_filename} !-f rewriterule ^([^\.]+)$ $1.php [nc,l] in application $_get , $_post used , file structure in htdocs this:
shopping ->(main folder) css(folder) images(folder) js(folder) .htaccess file1.php file2.php : : file9.php
so how can rid removing .php in url
check
.htaccessapplied in first place — see here;make sure configuration allows overriding @ least
fileinfoin.htaccessfiles (you mayallowoverride all):<directory "/var/www/html"> allowoverride fileinfo </directory>see this question details.
Comments
Post a Comment