I think this may be relatively straight forward. I have a rewrite rule that basically removes the .php from the URL but it isn’t a bog standard URL. It works fine in my httpd.conf file but not if I move to .htaccess:
RewriteEngine On
RewriteRule ^/index/(.*)/(.*)$ /index.php/$1/$2 [QSA]
Now I know in .htaccess you have to remove the section that references the current directory but I haven’t had any luck yet, any thoughts/suggestions/solutions most welcome.
The URLs passed to
RewriteRulenever have an initial slash. Remove it. And the one in the replacement, since they’re filesystem paths.