I came across a strange error today. It only seemed to occur since I’d transfered a blog to a new webhost recently. I did my usual database backup and the transfer went well until I tried to modify some files from within the WordPress admin area itself. I kept getting a Error 406 Not Acceptable when I tried to edit or change anything at all! This was very strange, I had never seen this error before. This had to be a web server issue I figured.
And sure enough after a bit of searching on the internet a solution was found on the UrbanGiraffe website. The Mysterious Error 406 article on the Urban Giraffe website clearly illustrates the problem. It occurs because of the Apache module called mod_security. This module acts like an Apache firewall, blocking a lot of the usual routes that people use to hack websites and displays a 406 Error for anything unusual. So that’s it! It appears that my new web server’s mod_security, when configured aggressively, can cause problems in CMS’s like Mambo, WordPress and other web scripts.
The solution is simple. The lines of code shown on the left can be added to your .htaccess file to disable mod_security.
Obviously you will lose any benefits that mod_security module had, but this works great for a quick fix to the 406 Error problem on your blog.
4 Responses
Shantanu Goel
May 1st, 2008 at 1:03 pm
1With Mod security 2, this is no longer valid. I’ve written about it and a workaround at
http://tech.shantanugoel.com/2008/05/01/http-406-errors-galore.html
bc
May 1st, 2008 at 4:23 pm
2That’s interesting, Shantanu. Thanks for commenting.
Thankfully, I haven’t had that problem in a while but I’m checking out your post as I type, cheers.
Reyn Aria
June 27th, 2008 at 11:51 am
3Finally… I’ve been checking everything for 1 hour. Surprisingly, the solution is very simple. You really save my day! Thanks!
406 Error in Wordpress blog. - NamePros.Com
May 7th, 2009 at 11:15 pm
4[...] just found this one WordPress Error 406 Fix | BlogCarta.com hope it helps __________________ Hymoo.com – Create Revolution – Help Us Spread The [...]
RSS feed for comments on this post · TrackBack URI
Leave a reply
Blog Humor
Revenue Programs
Hostgator.com
PPV Playbook
Speed PPC V4
PPV Coaching
Premium Themes
Thesis Theme for WordPress
Recent Posts
Tags
Pages
Technorati
Archives
My Blog Log
Alexa Traffic Rank
Wordpress Membership Sites
Top 10 Posts
Recent Comments
Categories
Links
XML Sitmap
Spam Blocked
Admin
BlogCarta.com is proudly powered by WordPress - BloggingPro theme by: Design Disease