Hotlinking is stealing someone’s bandwidth by linking to their website’s assets like images and videos etc. I see.
To set up Hotlink protection in cPanel, head to Security > Hotlink Protection: Ok then?
From here, you can enable or disable the hotlink protection: Ok.
Now, if you are the owner for both website1 and website2, you can disable the hotlink protection for own site so that you can link the content to and from your website. The following screenshot will elaborate it for you: Ok Done.
The most common reason for 403 forbidden errors is inappropriately setting up the file permissions.Ok.
To resolve such issues, the owner must set up the permissions as under: Yes
Dynamic Content: 700
Static Content: 644
To setup the permission, follow the steps:
1. Log into your cPanel using the specified URL and assigned login credentials.
2. Click on the File Manager icon in the Files field.I see.
3. On the left of the window that opens, you will see permissions of all files and folders
4. Ensure that the permissions of the public_html folder are 750 as shown below: Ok Done.
If it is 750, move to the next troubleshoot else follow the steps:
a. Choose the public_html folder > click on the Change Permissions icon
b. Set up permissions to 750 > Save.
c. Clear the browser cache
d. Clear your local DNS cache Got it.
The hidden files are not supposed to be accessed publicly and therefore the server restricts the access for public.
When a user tries to access the hidden files, a 403 forbidden error is thrown.
Likewise, for some servers, if the user enters an invalid URL intentionally or unintentionally, a 403 forbidden error message may occur.
It may vary from server to server and depends on what the user has entered, for example, you may see an error if you enter a folder directory instead of a file path.
As stated earlier, that the error 403 arises mainly due to an authentication error.
The users can see 403 rules due to any IP Deny rules defined in the cPanel.
In that case, verify the rules in cPanel to ensure that you are not blocking your own IP Range.
IP Rules comes very helpful if you need to block access for certain users.
To check for the IP rules, follow the steps:
1. Log in to cPanel account using the URL and provided login credentials.
2. Go to the Security section and click the IP Blocker icon.
3. Enter one or a range of IP addresses you want to deny access.
By default, the web server will load the index or home page from the target directory.
If the index file is missing from the folder, the web browser will display the folder content, but this can cause security risk.
The security risk is lowered by not to show the folder content directly and as an alternative, a 403 error is displayed. I see.
You can resolve this issue by uploading the appropriate index file to the directory or changing the values of “Index Manager” from cPanel.
Did this resolve your issue? Yes
Great! Why not share this article?
[Sassy_Social_Share count="1" total_shares="ON"] No? You can hire us for a to fix this.