How to check if URL redirection is working correctly?

How do I check if URL redirection works correctly using the Website Monitor?

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 CheckConfigure "Location" in Header Name field and the URLs you want to check in the Header Value field. 


Consider the configuration:

URL: https://www.example.com/page1.html

Header name : Location


Content check
What if there is a change in the redirection flow?

If the redirection fails, an alert would be triggered based on your Alert Configuration.

The redirection check fails for the following cases:

  1. If the configured URL is not present in the Location header.

  2. If the configured URL is a match with the Location header.

 

 

 


    • Related Articles

    • URL Check

      URL check is used to monitor URL's on the local machine where a server monitor is installed. The check fails when the configured URL is not available. Only local URLs can be monitored. The local URLs can be configured in the following ways. ...
    • Amendments to Site24x7 Monitor Names

      We've recently renamed a few of our Monitors to help keep in sync with the current IT and DevOps trends. The new monitor names are designed to correctly resonate with the IT & DevOps crowd. We've made necessary changes in the Web client, Help ...
    • How are the average values calculated in Global Benchmark Report and Monitor Group Performance Report?

      Response time data in a Monitor Group Performance report and Monitor Group Global Benchmark Report is calculated using different logic. As a result, you may notice a slight deviation in the average values deciphered from these reports. Monitor Group ...
    • To check the SNMP reachability using MIB browser

      Site24x7 On-Premise Poller uses SNMP to monitor and collect performance metrics from the monitored devices.  Please follow the steps below to check if a network device or a server is reachable through SNMP, from the on-Premise poller using the ...
    • How does the Poll Strategy setting work for website monitors?

      When configuring thresholds for performance metrics, you can set strategies that the website monitor will use to send alerts during a threshold breach. There are four options available: Poll count Poll average Time duration Average time The default ...