This is confusing me, I am doing a simple permanent redirect from one page to another but it causes and endless loop even though the address are different?
Why not set it in code? I always forget to check server configuration for such things after a few months, and then I lose valuable time figuring out from where does that redirect originate.
@bugsysha funny, I did that after all the redirect errors so that works. I still would like to figure out though why that happens with Forge. I imagine setting those redirects is probably a bit more "standard practice"
There are too many reasons why that might happen. For example, if you have something like Cloudflare and it has it's own redirects or some policies.
You can define it in Cloudflare. You can define it in Forge. You can define it in server config file. You can define it in code. Too many places if nothing else. Also, other places are not under version control so you have no idea about what and how it was fixed.