TechChase

New WordPress post not saved or published?

I always believe problem’s always teach you something new.

I have deployed techchase.in on paid hosting. Lots of new problem started here :)

After exporting all data and implementing all possible things I found that I am not able to save new post to draft or publish it.

Sometimes few text get auto saved and continuous message of “saving draft” displayed and nothing happened.

When tried to save or publish post manually and always come across error “nothing found for wp-admin Post php

If custom error page is off you can see following error:

Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/

1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at yourdomain.com Port 80

After several attempts  new post  not get saved or published.

If wordpress is deployed on root folder under public_html of your hosting you may face this issue due to mod_security issue.
ModSecurity is an open source web application firewall. Working embedded in the web server, or standalone as a network appliance,it detects and prevents unauthorized access.
This issue is related to Apache server and we might not always have access to server files.
If you’re using mod_security , you can whitelist your website by adding the following entry to the mod_security configuration file:

SecRule SERVER_NAME “website.com” phase:1,nolog,allow,ctl:ruleEngine=off

Best way to solve this issue is ask your hosting service provider to add yourdomain.com to mod_security whitelist.
This will defiantly solve problem.

If this solution really work for you please put comment.

Bookmark and Share

Tags: , ,

2 Responses to “New WordPress post not saved or published?”

  1. [Reply]

Trackbacks/Pingbacks

  1. Wordpress setup | TechChase

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>