public/index.php/public/index.php redirect with 404 Not Found invoice ninja installation error

Hello Invoice Ninja,

I just have installed Invoice Ninja v5 on my shared hosting. I used softaculous from my cpanel to install. But unfortunately my site is getting redirected to

is there any solution?


I suggest checking that mod_rewrite is enabled on the server

Also, check the APP_URL value in the .env file

I just checked my hosting.

result: - mod_rewrite is enabled


@david any thoughts?

Looks like it is rewriting twice, you’ll need to adjust the .htaccess

Thanks people for your effort.

I think we need to change the title also, " * ERR_TOO_MANY_REDIRECTS"

This is a problem caused by Cloudflare SSL.

Log into cloudflare >> SL/TLS >> overview >>

now select Full instead of Flexible

solution is given here

1 Like