Multisite icon indicating copy to clipboard operation
Multisite copied to clipboard

infinite redirect loop

Open gerritvanaaken opened this issue 1 year ago • 0 comments

I have successfully used this plugin on several projects. This time it’s not working, maybe you have an idea!

After your Module has correctly updated $_GET['it'] to the correct path, ProcessWire does not simply fetch and show the content from this path, but instead it does a redirect to this location. Then your Module runs again and does – of course – a redirect to the original URL, resulting in an endlos redirect loop like this:

bnd.nicht.live > bnd.nicht.live/bnd.de > bnd.nicht.live > bnd.nicht.live/bnd.de

How can I prevent ProcessWire from physically redirect to the manipulated $_GET['it']?

gerritvanaaken avatar Jun 22 '23 10:06 gerritvanaaken