How to Fix 406 or Not Acceptable Error Using .htaccess in cPanel?

Step::1 Login to your cPanel account and start searching for the File Manager icon under the FILES section.

Step::2 After opening the file manager click on public_html directory.

Step::3 Find the .htaccess file and right-click to Edit.

Step::4 After choosing an edit option, you see a popup asking to disable encoding if you wish. You have to click on the Edit button to continue.

Step::5 On a new tab, you can see many rewrite rules. You have to add the code to the .htaccess file.

<IfModule mod_security.c>
SecFilterEngineOff
SecFilterScanPOSTOff
</IfModule>


Step::6 Save the file by clicking on the Save Changes button from the top-right corner of the screen.

Congratulations!! You have learnt how to Fix 406 or Not Acceptable error using .htaccess in cPanel

Was this answer helpful?

Related Articles

How to display Related Pages in WordPress?

Step::1 Login to your WordPress admin dashboard Step::2 Go to Plugins and click on Add...

How To Fix ‘413 Request Entity Too Large’ WordPress Error using .htaccess?

This error occurs generally when a user tries to upload a large size file and media in the...

How To Force Logout All Users In WordPress At Once?

How To Force Logout All Users In WordPress At Once? Step::1 Let’s start by logging into the...

How to Add Google Analytics to your WordPress website?

In this article, we will share how you can easily install Google Analytics in your WordPress...

How to Add WhatsApp live chat to your WordPress site?

Step::1 Login to your WordPress dashboardStep::2 Go to the Plugins section and click on Add...