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

How to Fix 406 or Not Acceptable Error Using .htaccess in cPanel? [FIXED]☑️

Here in this tutorial we will provide you information about How to Fix 406 or Not Acceptable Error Using .htaccess from cPanel. With the help of the following tutorial you can easily fix 406 or Not Acceptable error by just adding a Code to .htaccess in cPanel.

Watch the video tutorial on How to Fix 406 or Not Acceptable Error Using .htaccess from cPanel

 

First of all you need to learn about its cause and then solution. When someone types an address of a website on the browser, the web browser sends a request to the server in the form of “Accept Header,” and when the server doesn’t find any file type browser asks, it displays 406 error.

So in this tutorial, you’re going to learn about solving the 406 or not acceptable error by disabling mod_security through the .htaccess file using cPanel.

Follow the steps given below to Fix 406 or Not Acceptable error:

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

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

 

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

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

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

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

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.

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

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

How to Fix 406 or Not Acceptable Error Using .htaccess from cPanel
How to Fix 406 or Not Acceptable Error Using .htaccess from cPanel
<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.

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

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

For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channelhttps://youtube.com/redserverhost.com

Facebook Page- https://facebook.com/redserverhost

Twitter Page- https://twitter.com/redserverhost.com

If you have any query, feel free to let us know via the comments section below.

Thanks for Reading!!!

Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting

Scroll to Top