Undo Permanent Redirect?

Not sure if this is possible, but I previously had the following redirect:

/internal/* /:splat  200!
/* /internal/:splat 301!

as I wanted to apply basic auth to the /internal directory. For various reason, I removed the rule two days ago and have since and added the following to reverse it:

/internal/* /:splat 301!

Unfortunately that does not seem to remedy the issue, as files are being redirected indefinitely between /internal and / until the browser gives up and settles on internal/. Is there anything I can do to fix this issue?

just as a sanity check before I let someone else who is more of an expert on redirects jump in, you did redeploy after changing the file, correct?

Yes I did @perry. I was able to resolve the issue by changing it to a 200 redirect so there is no infinite loop.

1 Like

great! thanks for sharing your solution :slight_smile: