@ptstockley
I’m running the plugin to redirect to a site without www in the domain and it works just fine.
There is a condition in the plugin that will prevent you from redirecting to the same domain as your current website. What site is the plugin installed on and where are you trying to redirect to?
I understand that out of the best intentions you include a condition to prevent redirecting to the same domain to avoid any accidental catastrophic forwarding feedback loop.
However, it sucks to be me, because the domain I wish to redirect is http://tobaron.com, and I wish to redirect it to https://web.archive.org/web/20190203015854/tobaron.com/
It appears to accidentally trigger your accident prevention safety mechanism.
-
This reply was modified 7 years, 1 month ago by
Leif Harmsen.
@leifharmsen Sorry about that. I’m at a conference this weekend, but will take a look next chance I get. Thanks for letting me know!
@leifharmsen
So the code only compares the hostname, which ends up comparing tobaron.com to web.archive.org. In my testing, everything works as expected. Are you running into an issue where when you go to save your redirect URL it just clears out the field? That is what would happen if you put in a URL that would cause an infinite loop.
Or are you running into another issue?