How to Fix the 403 Forbidden Error in Cyberpanel
Are you getting the 403 forbidden error? It is one of the most common errors and the solution is very simple.
Let's first know the reason for it. 403 forbidden error means that the server permissions are not allowed to access the page. It is nothing but related to the files and folders permissions.
Solution: You have to change the permissions of your files and folders. Below are the commands to do that. Please open the terminal and go to the root path of your site and hir the below commands.
sudo find . -type d -exec chmod 755 {} \;
Change all directories permission to 755
sudo find . -type f -exec chmod 644 {} \;
Change all files permissions to 644.
Your folders/directories permissions should be set to 755 and file permissions should be set to 644.
Thank you, Please comment below if you have any questions or you are not able to fix the issue.
Simranjit Kaur
Comments
Post a Comment