I have reviewed this blog post and I no longer think that the content is very relevant, but because this post has been popular and some may still use the Google Publisher plugin, I keep the blog post for now. The plugin itself has been removed and can therefore no longer be downloaded. I have renewed the post.
From the plugin page itself: “This plugin lets you place AdSense ads using a simple point-and-click UI rather than manually inserting snippets yourself. To insert AdSense ads without the plugin would first involve generating the AdSense snippet and then pasting the Adsense snippet into either the text of the site or directly into the PHP. Google automatically determines potential placements for AdSense ads, suggests an initial ad layout, and allows you to lay out ads on your site.”
While activating Google Ads, the plugin displays “Applying changes to your site“.
And then you get the error message:
“Unable to apply changes to your site. Sorry we were unable to save your configuration. The request to your server failed with error code 500.“
Finding the issue for “Sorry we were unable to save your configuration.”
When I get errors in WordPress with plugins or other standard configurations, I always first look at the plugins that can cause problems.
I then go through the plugin list and disable the plugins that can temporarily be disabled. Keep in mind that this is not always possible and that you sometimes have to re-enter configurations.
For now it’s easy because I’ve found the plugin that causes this problem.
Are you using the WordFence plugin for securing your website?
Disable the plugin and then try to save your Ads again.
It’s the Web Application Firewall feature that will prevent you from enabling ads. The Web Application Firewall stops you from getting hacked by identifying malicious traffic, blocking attackers before they can access your website. Powered by the Threat Defense Feed, it is automatically updated with new firewall rules that protect you from the latest threats. Even if you are running a vulnerable plugin or theme, Wordfence will protect you from being hacked by blocking attacks based on known and constantly updated attack patterns.