Nathan
Nathan

Reputation: 534

GET, URL-Rewrite

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?

Upvotes: 1

Views: 293

Answers (1)

Gilles Quénot
Gilles Quénot

Reputation: 185530

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

Upvotes: 1

Related Questions