0
在發佈之前,我已經嘗試瞭解決方案URL1,URL2但尚未修復。我.htaccess
這樣的代碼:.htaccess刪除.php擴展不工作
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
在我的應用程序$_GET
和使用$_POST
和文件結構htdocs
這樣的:
shopping ->(main folder) css(folder) images(folder) js(folder) .htaccess file1.php file2.php : : file9.php
所以,我怎麼能得到從URL
去除.php
擺脫