A webpage can be made available from more than a single web address using URL redirection. Most redirects are automated and it becomes difficult to track if the redirection works in a specific way. This can be verified using website monitoring in Site24x7.
Redirection Flow:
Consider the following redirection flow for https://www.example.com/page1.html
How can I configure my monitor to verify the redirection path?
While adding or editing a monitor, you can configure the to check the redirection flow from the "Location" header values with HTTP Response Headers field under Content Check. Configure "Location" in Header Name field and the URLs you want to check in the Header Value field.
URL: https://www.example.com/page1.html
If the redirection fails, an alert would be triggered based on your Alert Configuration.
The redirection check fails for the following cases:
If the configured URL is not present in the Location header.
If the configured URL is a match with the Location header.