Title: Plugin messes wp-json calls
Last modified: August 11, 2023

---

# Plugin messes wp-json calls

 *  Resolved [bjorntech](https://wordpress.org/support/users/bjorntech/)
 * (@bjorntech)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-messes-wp-json-calls/)
 * Hi,
 * I have an issue where the plugin is redirecting wp-json calls in some cases.
 * I have managed to work around this by replacing
 * if (!empty($url) {
 * with
 * if (!empty($url && strpos($url, ‘wp-json’) !== false)) {
 * in the Frontend::replaceRequest class.
 * Could you please implement this (or another solution)?
 * /tobbe

Viewing 1 replies (of 1 total)

 *  Plugin Support [Mark Kevin](https://wordpress.org/support/users/mkesteban08/)
 * (@mkesteban08)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-messes-wp-json-calls/#post-16970177)
 * Hi [@bjorntech](https://wordpress.org/support/users/bjorntech/) ,
   Thanks for 
   bringing this to our attention. I’ll be sure to escalate this to our development
   team.Please let me know if you have other questions, and I’ll be glad to help
   you with them.Have a great day!

Viewing 1 replies (of 1 total)

The topic ‘Plugin messes wp-json calls’ is closed to new replies.

 * ![](https://ps.w.org/woo-permalink-manager/assets/icon-256x256.png?rev=1840668)
 * [Premmerce Permalink Manager for WooCommerce](https://wordpress.org/plugins/woo-permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-permalink-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mark Kevin](https://wordpress.org/support/users/mkesteban08/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-messes-wp-json-calls/#post-16970177)
 * Status: resolved