Website’s Hotlink Protection Using cPanel 

  • Home
  • Cpanel
  • Website’s Hotlink Protection Using cPanel 
This Is A Image Of Webite Hotlink Protection

Hotlinking is a common issue many website owners face, leading to unauthorized usage of their website resources such as images, videos, and other media files. This not only consumes your server bandwidth but also affects your website’s performance. To prevent this, cPanel provides a built-in Hotlink Protection feature that restricts external websites from directly linking to your media files. In this guide, we will walk you through the steps to enable and configure Hotlink Protection in cPanel to safeguard your website’s resources.

What is Hotlink Protection?

It is a security feature that prevents other websites from embedding or using your media files directly. When enabled, it ensures that only your domain and specified domains can access and display your website’s images, videos, or other files. This helps in saving bandwidth, improving website loading speed, and protecting your content from unauthorized use.

Hotlink Protection Feature In Cpanel

Steps to Enable Hotlink Protection in cPanel

Follow the steps below to enable it and secure your website’s media files from unauthorized usage.

Step 1: Log in to cPanel

To begin, log in to your cPanel account using your username and password.

Cpanel Login Page

Step 2: Navigate to Security Section

Once logged in, scroll down to the Security section and click on Hotlink Protection.

Hotlink Protection In Cpanel

Step 3: Configure Hotlink Protection

Upon opening the hotlink settings, you will see an interface where you can configure the allowed and blocked URLs.

Hotlink Protection Settings

Step 4: Add Allowed Domains

In the URLs to allow access field, enter your domain and any additional trusted domains that should be permitted to use your media files.

Adding Allowed Domains

Step 5: Block Specific File Types

Under the Block direct access for the following extensions section, specify the file types (such as .jpg, .png, .mp4, etc.) that you want to protect from hotlinking. Ensure you separate each extension with a comma.

Blocking File Types

Step 6: Enable Hotlink Protection

Finally, click on the Enable button to activate Hotlink Protection. Once enabled, your website’s media files will be protected from external linking.

Enable Hotlink Protection

Conclusion

By enabling Hotlink Protection in cPanel, you can prevent unauthorized websites from using your media files, ensuring better resource management and website performance. This simple yet effective feature helps conserve bandwidth and secure your content from misuse.

For more security tips and hosting solutions, visit Bitbyhost.

Free Website Toolkit

Money Back Guarantee

If you’re unhappy for any reason, let us know why. Our friendly support guy is standing by.

If you do decide we’re not the right host for you though, we’ll give you a hassle-free refund. We may have to stock up on tissues if you cancel though because we hate break-ups, but we promise, no hard feelings. Just cancel your account within your first 30-days for a full refund, or receive a prorated refund of unused service after 30-days. It’s that easy.

Free Domain Registration

In order to qualify for (1) one free domain name registration, you must sign up for a 12, 24 or 36 month Bitbyhost Shared, Web hosting and WordPress plan. Offer only applies to domains available only .com at the time of hosting signup, and on their initial purchase term. This offer is NOT available under any other hosting plans, nor can it be combined with any other offers. After the first year, your domain will renew at the regular rate.
If your hosting plan includes a free domain and you cancel your hosting within the first year, a non-refundable $12.08 USD domain fee (+ any applicable taxes) for the domain name will apply. Please note that newly registered domains cannot be transferred to another registrar during the first 60 days of the registration period.

Discount will be automatically applied to your cart at checkout.