Title: 406 error fix
Last modified: August 20, 2019

---

# 406 error fix

 *  [jhaber31](https://wordpress.org/support/users/jhaber31/)
 * (@jhaber31)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/)
 * Not sure WordPress is at stake, but here goes. As far as I know, I hadn’t changed
   anything, but in testing various WordPress posts suddenly all links to one page
   were giving Not Acceptable 406 errors. Other links seemed fine, although they
   were all to files in my root directory, while the file giving the error is in
   a subfolder. Foolishly, I neglected to look for links to any other files in the
   same folder, so I can’t swear that the problem arose with just that one file 
   or the subfolder. If it helps, the links are all to static html pages, not to
   other WordPress posts (which I use only for my home page).
 * I called for help to my Web host (FatCow), and a support person added this fix
   to two places, the page giving the error and an .htaccess file in the root directory
   that may or may not have been there before. (I can’t tell you.)
 * <IfModule mod_security.c>
    SecFilterEngine Off SecFilterScanPOST Off </IfModule
   >
 * For the page giving the error, she added it at top, before any html, even DOCTYPE.
   Anyhow, now it works.
 * Two questions. First, any idea what might have gone wrong? As I say, I’m not 
   aware of any changes to my system, beyond my usual writing habits. Second, do
   you think I need both changes, or can I (say) remove the fix from the html page
   giving the failed link while keeping the .htaccess file?
 * In case it helps, my site is [http://www.haberarts.com](http://www.haberarts.com).
   You’ll see numerous WordPress posts with links to files in the root directory,
   but (whenever I cite an art gallery or museum) a link to [http://www.haberarts.com/style/museums.html](http://www.haberarts.com/style/museums.html)(
   followed by a # and the id of the gallery or museum at stake). Thank you!
    -  This topic was modified 6 years, 9 months ago by [jhaber31](https://wordpress.org/support/users/jhaber31/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F406-error-fix%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11849885)
 * >> First, any idea what might have gone wrong? As I say, I’m not aware of any
   changes to my system, <<
 * Your host changed their implementation of mod_security in a way that breaks WordPress.
 *  Thread Starter [jhaber31](https://wordpress.org/support/users/jhaber31/)
 * (@jhaber31)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11849945)
 * I see, thanks. I was guessing that the buggy change came at their end.
 * So: what are the implications of that for what I should do? I’m guessing that
   one or the other of her changes to my site in effect overrode the host’s default,
   thankfully. So now what? Thanks again,
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11849949)
 * Just hope they don’t do it again. 🙂
 *  Thread Starter [jhaber31](https://wordpress.org/support/users/jhaber31/)
 * (@jhaber31)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11849994)
 * Gotcha, thanks. Of course, I don’t really know why that one page or subfolder
   was deemed unacceptable, not that it matters. But not to be a nag, again, do 
   you think I need the mod_security_c changes to both files, the html file and .
   htaccess? Of course, I could do a little trial and error.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11850016)
 * Your host has turned off mod_security for your site.
 *  Thread Starter [jhaber31](https://wordpress.org/support/users/jhaber31/)
 * (@jhaber31)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11850026)
 * Scratch that. I did indeed go with trial and error. I removed the lines from 
   the start of the html page, so that it looks like something I can recognize as
   html, and things seem to work ok. If they go bad, I can always copy the lines
   over from .htaccess.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘406 error fix’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [Not-Acceptable](https://wordpress.org/support/topic-tag/not-acceptable/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [jhaber31](https://wordpress.org/support/users/jhaber31/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/406-error-fix/#post-11850026)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
