Continued from my previous thread: GET, if, elseif
I'm using a CMS but it has URL rewrite somewhere through the files. How would I go around getting the $_GET to work without the .php extension?
Options +MultiViews
That still won't let me visit /something.php it says not found. (Would it be because the pages aren't in /, they are in another directory using a template system?
If you are using apache HTTP server, then you should consider to use multiview option . No need to use RewriteRule there. In the htaccess file, add :
Options +MultiViews
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.