SafeSquid comes with sample policy, helping you in policy creation.
In SafeSquid sample policies " Enable interface access through authentication " policy is already present. You have to just enable those policies, so that it becomes applicable.
Click on 'Configure' which is at top right of the SafeSquid Interface.
On the left side bar of SafeSquid Interface click on Real Time Content Security >> Redirect
Make the Global Section Enabled to TRUE.
Then click on Redirection Policies, here you across with some default policies. Add new policy.
Create a policy as shown:
Click on save (Save button is placed at right bottom)
Testing:
In this the URL value 'rediff.com' is redirect to 'SafeSquid.com' and the port to redirect to 80.
Go to browser and access https://www.rediff.com/, it must redirect to SafeSquid.com, we can verify in Native logs on SafeSquid interface Reports >> Native logs as like below.