I have this problem, I’m running locally an application (PHP 5.3.5) and it works, but when I put it online it doesn’t (I have PHP 5.3.6).
- http://domain.com/ //works
- http://domain.com/route //doesn’t work Error 500
- http://domain.com/index.php/route //works
This is my ‘.htaccess’
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
As you can see I only added this line RewriteCond %{REQUEST_FILENAME} !-d
I also tried with the original .htaccess but didn’t work.
Any ideas?
I just try with WordPress default .htaccess
And it works