getRedirect
Returns an URLRedirect object, containing a location and status. The redirect is calculated
based on origin url of current request and the configured Static, Dynamic and URLRedirect mappings for
the requested site.
Returns:
URLRedirect containing the location and status code, null in case of no redirect was found