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 https://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 https://www.haberarts.com/style/museums.html (followed by a # and the id of the gallery or museum at stake). Thank you!
The page I need help with: [log in to see the link]
- The topic ‘406 error fix’ is closed to new replies.