Jun 29, 2011

Wordpress-Publish new post redirecting to homepage | While saving edited code redirecting to home-page

Wordpress-Publish new post redirecting to homepage | While saving edited code redirecting to home-page

This is an hectic bug for us, whenever a user tries to publish the post or save any code changes, it redirects to the homepage without publishing and saving the code,

This problem I also faced, many people recommends of redirection plugin fixes, but in many cases people are not using that, and then also they facing this kinds of problems.

The only solution to this is writing a simple code in .htaccess file

[php]<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>[/php]

 

Just copy paste the above code and then done, you are free to publish post and save the codes without any home-page redirection.
This usually happens when on server, some changes are made on mod_security rule.So next time if you face this problem, no worries, just follow this post

No comments :

Post a Comment