Error 404 – Can’t Find Ajax Request URL

If the WP Staging cloning process interrupts while it copies files from one location to another or if it stops with the error “Error 404 Can’t find Ajax request URL,” go to WP Staging > Settings and try the settings below:

  • CPU Load: Low
Can't find ajax url.

This issue can be thrown by the module mod_security being activated on your server.

WP Staging fires multiple ajax post requests to admin-ajax.php for copying files from one location to another.

mod_security blocks these requests after a while when it assumes that they are malicious or could harm your server. They do not, of course.

Please also try the following:

  • Increase the setting: File Copy Limit to 250
  • Disable mod_security at all (not recommended)
  • Ask your hoster if they can provide you with the mod_security log. Send it to us or ask them if any specific rule is causing mod_security to block these Ajax requests. We can probably write a custom fix for you when we get that info.

Updated on June 16, 2023