Redirection uses the WordPress REST API to communicate with WordPress.
Sometimes a site has problems using the REST API, and this can be caused by:
- The REST API has been disabled
- Requests to the REST API are being redirected
- Security software is blocking requests
These are all solvable.
You can test your API by accessing
/wp-json/ on your site. You may see:
- A lot of data. Your API is working
- An error page. Your API has been disabled or blocked
- A redirect to another page
Disabled REST API
This is a simple one and just involves not disabling the REST API! If you used a plugin to disable the API then you will need to configure that plugin to allow Redirection to use the API.
This is likely also caused by a plugin, or maybe an aggressive redirect. You will need to configure your plugin to not redirect requests to the API.
The WordPress API uses standard communication techniques, but sometimes security software can aggressively block it and return errors. You will need to configure your security software to not block API requests.