Whitelisting Wordpress admin (wp-admin) in mod_security to avoid 404 on post save or post preview
August 24th, 2009
1 Yesterday while I was writing a post about excluding a category from Wordpress home page and RSS feed, I found that all of a sudden the Save and Preview buttons in the Wordpress Admin are not working. I was shown a “404 Not Found” screen whenever I try to Save or Preview the post. So I was bit surprised and thought its either wordpress 2.8.4 is broken or I messed something up while hacking the category exclusion in my blog. I really had to dig in and do some googling to find out that I am seeing the 404 because of mod_security. I .

