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

This is a 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 writing a simple code in .htaccess file

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Just copy paste the above code and then done, you are free without any errors 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

0 comments:

Blog Archive

About Me

My Photo
NiRaJ (asp or php)!!!!!!
I am basically a software engineer and Website designer & developer (final year student)
View my complete profile

Woooo

WooThemes - Made by Designers