Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon Configure AIOWPS to avoid conflicts with the WordPress REST API
    WordPress SEO


Configure AIOWPS to avoid conflicts with the WordPress REST API


To configure All In One WP Security and Firewall (AIOWPS) to avoid conflicts with the WordPress REST API:

1. Disable AIOWPS's Firewall Rules for the REST API:
- Go to the AIOWPS settings.
- Navigate to the "Firewall" tab.
- Look for the "WP Rest API" section and ensure that the firewall rules are not blocking the REST API.

2. Check for Conflicting Settings:
- Ensure that the "Rename Page of Login" feature is not activated, as this can sometimes cause conflicts with the REST API[4].

3. Verify Advanced Settings:
- Go to the "Advanced Settings" tab in AIOWPS.
- Ensure that the settings are not interfering with the REST API.

4. Disable AIOWPS for Specific URLs:
- If necessary, disable AIOWPS for specific URLs that are causing conflicts with the REST API. This can be done by adding specific URLs to the "Exclude URLs" section in the AIOWPS settings[5].

5. Monitor for Errors:
- Regularly check for any error messages related to the REST API in the Site Health Check or WordPress logs. If issues persist, consider seeking support from AIOWPS developers or other experts[1].

By following these steps, you can minimize conflicts between AIOWPS and the WordPress REST API, ensuring a more secure and stable WordPress site.

Citations:
[1] https://wordpress.org/support/topic/error-message-about-rest-api-in-wordpress-site-health/
[2] https://github.com/Yoast/wordpress-seo/issues/5136
[3] https://drewl.com/blog/fix-wordpress-rest-api-errors/
[4] https://mbrsolution.com/security/all-in-one-wp-security-and-firewall-settings.php
[5] https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/