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
sub.domain.com/public/index.php/public/index.php
is there any solution?
Hi,
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
APP_URL = https://sub.domain.com/public
david
June 1, 2021, 9:28pm
5
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
https://support.cloudflare.com/hc/en-us/articles/115000219871-Troubleshooting-redirect-loop-errors
1 Like