How do I test if a redirect is working correctly?

Question

Grade: Education Subject: Support
How do I test if a redirect is working correctly?
Asked by:
49 Viewed 49 Answers

Answer (49)

Best Answer
(261)
After setting up a redirect, use a browser extension like ‘Redirect Checker’ or simply type the old URL into your browser. You should be automatically redirected to the new URL. Also, check using `curl -I ` to verify the HTTP status code is 301 or 302.