Friendlyurls and redirect problem

What you need to know is
I have friendlyurls snippet that works like that:
if {path} not /manager
regexp ^/(.*)$
to {path} {path}/ /index.php?q={1}&{query}
As you can see some requests are rewritten to /index.php?etcetc

Also i need to redirect /index.php to /
But as you might have already understood it doesn’t work. How to make it work together?

If you don’t want to send them to index.php, have you tried simply not including it in your rewrite target? i.e. {path} {path}/ /?{1}&{query}

Assuming fastcgi is setup with defaults, it should assume index.php without a problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.