Troubleshooting URL Redirects
Table of Contents
Here’s a checklist of common issues to help you if a configured redirect is not redirecting correctly:
Checking domain resolution status
Using cURL to test the redirect
Sometimes the redirect is working correctly, but the browser cached the previous page and it’s not showing the redirect. We highly recommend using an HTTP client and not a browser to test the redirect.
To test the redirect via
cURL use the
-I option to print the response headers:
$ curl -I www.weppos.xyz HTTP/1.1 301 Moved Permanently Location: http://target.com X-Redirector-Version: 1.5.1 Date: Mon, 01 Aug 2016 20:24:42 GMT Content-Type: text/plain; charset=utf-8
The response code should be 301, and it should contain the Location. We also include the
X-Redirector-Version custom header to help you determine if the redirect is sent from our redirector or from some other system.