Getting a 406 Error - What Does It Mean and How Do I Fix It? or Why Am I Seeing a 406 Error and How C

20 Replies, 1190 Views

"Help! My Site Keeps Returning a 406 Error - Any Solutions?"

Hey guys, sooo my website suddenly started throwing a 406 error and I have no clue why. Like, everything was fine yesterday, and now? Boom—406 error outta nowhere.

From what I googled, it’s something about the server not accepting my request? But idk how to fix it. Tried clearing cache, checked my .htaccess file, nada.

Anyone else dealt with this before? Is it a server config thing or maybe a plugin messing up? Any quick fixes or do I gotta dive deeper?

Thanks in advance! 🙏 (also, sorry if this is a dumb question lol)
Hey! Had the same 406 error last week—drove me nuts. Turns out it was a plugin conflict. Try disabling plugins one by one to see if that fixes it.

Also, check your server logs (cPanel or whatever you use). Sometimes the error message there is way clearer than the generic 406 nonsense.

Good luck!
Ugh, 406 errors are the worst. Could be your server’s mod_security rules blocking something. Try adding this to your .htaccess:

```
SecFilterEngine Off
SecFilterScanPOST Off
```

But only as a temp fix! Don’t leave it like that forever—ask your host about it.
406 error usually means the server’s picky about what it’ll accept. Check your request headers (use DevTools in Chrome). Maybe your site’s sending weird stuff.

Also, try this tool: https://httpstatus.io/ to debug the response. Helped me once!
Not a dumb question at all! 406 errors can be sneaky.

Quick things to try:
- Update your CMS/plugins (outdated stuff can trigger it).
- Check if your hosting provider made any recent changes.

If none of that works, might need to dig into server configs.
Had this happen when my API returns JSON but the client expects HTML. Maybe check your content-type headers?

Also, if you’re using Cloudflare, try disabling it temporarily. Their rules can sometimes cause 406 errors.
Yo, 406 error gang! Mine was fixed by whitelisting my IP in the server firewall. Some hosts auto-block "suspicious" traffic (even if it’s just you refreshing too much lol).

Worth a shot!
406 errors often tie to Accept headers. If you’re making API calls, ensure the client/server agree on formats (JSON, XML, etc.).

Try Postman (https://www.postman.com/) to test requests—super handy for debugging this stuff.
Hey everyone! OP here—wow, didn’t expect so many replies! 🙌

Tried disabling plugins (thanks @user2!), and boom, it was a stupid SEO plugin messing with headers. Also checked Cloudflare like @user5 suggested, and that helped too.

Still gotta dig into the server logs, but you all saved me hours of headache. Appreciate it! 💯
Classic 406. Check if your .htaccess has any weird rewrite rules. Also, sometimes just restarting Apache/NGINX magically fixes it.

If you’re on shared hosting, maybe your neighbor’s site is hogging resources?



Users browsing this thread: 1 Guest(s)