Wordpress

WordPress Publish Failed Error – Very Simple Definitive Solution

This error has been a problem for many blog lovers these days, but the solution is actually very simple.

This error has been a problem for many blog lovers these days, but the solution is actually very simple. If you are a new blog owner and you do not have much concern about security, if your blog does not receive a lot of unique hits, you can get rid of this problem by turning it to “cPanel>ModSecurity>Status>Off”. However, it is useful to know that in order to get rid of this problem, you will also embrace other security threats.

Why does this error occur?

Başlıklar

It needs to connect to the server to respond when you edit your website page or post. Your website sends this response in JSON format using JavaScript. So, if there is any error in your JavaScript code and WordPress failed to connect to the hosting server, you may see the error message ‘The response is not a valid JSON response’.

Isn’t there another way?

The reason for this error is actually related to the new editor of the WordPress system. You are being blocked by Mod Security.

Solution

We install the WordPress Classic editor.
htacess. We reduce the permissions of the file from 644 to 600.

What is Mod Security?

What Is Mod Security

Mod Security is an open source firewall developed for web applications. ”Web Application Firewall (WAF)” Mod Security works embedded in the web server. It undertakes the task of detecting and blocking attacks for the web applications you use or write.

How to turn off Mod Security?

We enter the cPanel interface where your website is located and write “Mod Security” in the search box. On the page that opens, we activate the buttons on which sites you want the Mod Security firewall to work and on which sites it should not work.

You can visit the Wordpress category for similar solutions.

Leave a Reply

Your email address will not be published. Required fields are marked *