Documentation at https://c5magic.co.uk/addons/conditional-redirect