HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

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

21,530 views March 25, 2020 1:27

Watch on YouTube
ChannelRed Server Host

Description from the creator

Today in this video you will learn How to Fix 406 or Not Acceptable Error Using .htaccess from cPanel
You just have to Add a Code to .htaccess to Fix 406 Error.

Let me tell you 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.


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.
Step::2 As always, you need to make sure, you see the public_html directory. Depending on the web hosting you have, you may also see the home directory after opening the file manager.
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.
Copy the code from this link- pastebin.com/c2m95Lj7
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

Hope this helps!!!
For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channel -youtube.com/redserverhost.com

Facebook Page- facebook.com/redserverhost
Twitter Page- twitter.com/redserverhost.com
Official Website- redserverhost.com

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

About this tutorial

Red Server Host published this 1:27 video tutorial on March 25, 2020. It has been watched 21,530 times on YouTube.

Duration
1:27
Published
March 25, 2020
Views
21,530
Likes
84

Tags

Share

This tutorial in other languages