Before posting here I've tried solutions URL1, URL2 but not fixed yet. My .htaccess
code like this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
In my application $_GET
and $_POST
used and file structure in htdocs
like this:
shopping ->(main folder)
css(folder)
images(folder)
js(folder)
.htaccess
file1.php
file2.php
:
:
file9.php
So how I can get rid from removing .php
in URL