Convert Apache .htaccess rewrite to nginx

ryd994 ryd994 at
Thu Jun 25 23:10:45 UTC 2015

On Wed, Jun 24, 2015, 15:31 nngin <nginx-forum at> wrote:

searching the site, i found that this same question goes unanswered. Please
point me in the right direction of where i would be able to get help.

Posted at Nginx Forum:,259810,259876#msg-259876

nginx mailing list
nginx at

Not quite familiar with apache rewrite rules, but I think you just need:

rewrite ^(.*)/$ $1 permanent;
try_files $uri /index.php;

Not tested, apologies if I'm wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list