HOW TO PREVENT OTHER WEBSITES FROM DIRECT LINKING TO FILES IN CPANEL? [STEP BY STEP]☑️
Today in this tutorial you will learn how to prevent other websites form direct linking to files in your website. So let us watch out this video to learn how to prevent other websites form direct linking to files via Hotlink Protection in cPanel. Take care of every step so that you don’t miss anything.
Now let us know what is Hotlink Protection?
A Hotlink is a link to a media file on your site from another website. The owner of the third party site decides to link directly to you instead of hosting that content themselves. The most common example is an image file embedded on a web page but hosted by another person. Every time someone visits their page, your server feeds the file to them, using up your bandwidth allowance.
Hotlink protection in cPanel is just an extra feature that allows you to protect bandwidth by disallowing other third party URL/Domain from linking contents fetched from your server.
Follow the steps given below to enable Hotlink protection in cPanel:
Step::1 Login to your cPanel
Step::2 Scroll down to Security section and click on Hotlink Protection
Step::3 Now just click on Enable button to enable this function
Congratulations!!!Hotlink Protection enabled!!!
However there is one more method to apply hotlink Protection via .htaccess
You just have to write a code in your .htaccess file inside public_html