WordPress – 406 Not Acceptable Error

I recently shifted my host and server space, along with all the wordpress and other installations. Me being out of touch with my blog for the past few years, forgot how to move and restore my backup. Once my wordpress blog was up and running, i tried to edit preferences according to my liking. However there were issues.


Whenever i tried to edit certain plugin preferences and attach images to blog posts, i was getting an error as,”Wordpress – 406 Not Acceptable Error”. After a lot of pondering and google searches i came across this solution.

The problem was with my .htaccess file on my server, which i mistakenly copied from my old server overwriting the new one. Just add this to your .htaccess file and reload your pages to fix the 406 error:

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

PS: Please make sure to remove spaces after the < and before the >

You can leave a response, or trackback from your own site.

Leave a Reply