Agility CMS makes it easy to test all of your URL redirections so you can identify when they aren't working and take action to fix them or remove them.
How to Test URL Redirections
Login to your Agility CMS instance
Navigate to Settings > URL Redirections
Click the Test button. If you have not selected ANY items in the grid, this will test ALL redirects. Optionally, you may select one or many specific redirects to only test the selected items.
Click Test Now to begin the test.
Depending on how many items you have, this may take some time. Redirects are tested 100 at a time.
Upon completion, you'll get a summary of the results.
The URL Redirections grid now shows the latest test result and when the test was the last run.
While the grid view will quickly show you which tests have passed or failed, you'll likely want to get more detail as to why particular tests have failed.
Review a Single Item
You can review the details of a failed test by clicking on the item and referring to the failed test description.
Reviewing Multiple Items
You can Export the list of URL Redirections. This will include the test result, as well as its failed test description.
Examining Result Messages
Test results will only succeed if the appropriate 301/302 responses are returned from the Origin URL and the Destination URL results in a 200 response.
The redirection is working properly
This means that your Origin URL successfully returned the expected 301/302 result and the Destination URL resulted in a successful response.
The status code returned 404, expected was 301
This means that the Origin URL returned a 404 as opposed to the expected 301 (a 301 response will normally return the Destination URL). If you get this result, contact your developer to investigate.
An error occurred while accessing origin URL <url>
This means that the Origin URL encountered a server error and did not return the expected 301/302 result. If you get this result, contact your developer to investigate.
The destination url is <some url>, expected <destination url>
This means that the Origin URL did respond with a redirect, however, the Destination URL it ended on was not the expected destination.