How to prevent image hotlinking for Joomla using cPanel

Description
  • Hotlink protection prevents the other websites from linking to your images and files and thereby using your bandwidth. You need to be logged in to your cPanel account to enable the hotlink protection.
  • Scroll down and click on the Hotlink Protection.
  • Scroll down, cPanel should have automatically filled in the URLs to allow access box. If that is not the case, then you need to type all the domains and the sub domains that should be able to access your files.
  • Now type the file extension you want to restrict the access to.
  • Allowing the direct access lets people type the URL to a file in their browser but not access it on the web page other than the specified ones.
  • By default, a message is displayed when someone triggers the hotlink protection; an alternative is to send the person to the URL specified.
  • Type the URL and click on submit to activate the hotlink.
  • Click Go back, now hotlink protection is enabled for all the files in the public_html folder. But if you want that only Joomla Folder is to be protected, then click on Home.
  • Scroll down and go to the file manager, click on show hidden files and Go.
  • The hotlink protection is saved in a file called .htaccess in the public_html folder. Right click on it.
  • Click in the copy option and enter the path to your joomla dictionary and click copy file(s).
  • To very .htaccess contains the correct information is by double clicking on the Joomla directory; scroll down until you see the .htaccess file.
  • Click on the checkbox and click on edit option and in the new wizard window click on edit.
  • Make any necessary changes and then click save changes.
  • Now joomla has hotlink protection set up independently from cPanel, let’s disable it from there.
  • Go to the hotlink protection page and click disable.
  • That’s it. The hotlink protection is enabled only on the Joomla directory.

> PREVIOUS TUTORIAL NEXT TUTORIAL

BACK TO HOSTING TUTORIALS

SSD WEB HOSTING PLANS

Tell Us About Your Needs—We'll Recommend The Right Plan

SSD CLOUD Unlimited
$1.89
month
  • Up to 5x Faster than regular Unlimited with Wordpress Add-ons + CPANEL
  • Get Started!
Professional SSD Reseller
$16.99
month
  • Built for users who require cPanel hosting account with unlimited sites
  • Get Started!
Enterprise SSD VPS
$25.99
month
  • High Traffic Businesses with Dedicated functionality and control, in cloud platform
  • Get Started!
DEDICATED SERVERS
$89.99
month
  • High Traffic with Dedicated Hardware and Root Access without compromising the performance.
  • Get Started!
SSD SEO
$15.50
month
  • Hosting that fits SEO company which needs more C-class IPs with SSD performance.
  • Get Started!
SSD BUSINESS
$19.99
month
  • Web hosting that fits for businesses with SSD performance/
  • Get Started!
BULK EMAIL
$26.99
month
  • Bulk Email without limitation (Opt-In Email only). Not intended for SPAM/SOLICITED Emails
  • Get Started!

What features we have?

We are focused on delivering excellent levels of services with fast and reliable web services

     Transfer to KVCHOSTING ?

  •  Free Domain Name or Name Transfer!
  •  Free Unlimited Site Migration!
  •  24/7 Proactive support


     New Account with KVC ?

  •  Host Unlimited Site & Bandwidth
  •  Build & Publish with SiteBuilder
  •  Free 200+ 1-click script installs
  •  Wordpress, Joomla and many more...


     WEB HOST FEATURES

  •  cPanel Version 100
  •  PHP 8 , Apache 2.4 , Nginx and MariaDB
  •  Softaculous 1 Click install 435 tools
  •  24/7 Proactive Support
  •  SitePad website builder
  •  Weekly Backups
  •  Imunify Malware scanner
  •  Fully SSD Servers
  •  Fully hardened Servers and Services


     OUR COMMITMENT

  •  99.9% Uptime Guaranteed
  •  24/7/365 Tech Support
  •  Fastest Respond Time
  •  No Setup Fee & No Gimmicks
  •  Affordable Hosting Plans
  •  Full Raid Servers (Raid 10)
  •  Get over $1000 in Free Extras
  •  Free over 2500 Website Templates
  •  No Setup Fee & No Gimmicks
  •  Affordable Hosting Plans
  •  Full Raid Servers (Raid 10)
  •  Free over 1000 Hosting Tutorials

2024 HOSTING REVIEWS

Our reputation of excellence is unmatched - we pride ourselves on being experts that our clients can depend on for whatever they need



(56 reviews)


(188 reviews)
award

(334 reviews)
award

(244 reviews)
award

(251 reviews)


(26 reviews)


(71 reviews)
award

(81 reviews)


(71 reviews)
award

(12 reviews)

Our Awards

2024 HOSTING ACHIEVEMENTS

We have received many awards in our 8+ years of providing web hosting service

Testimonials

.......................................................

  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 

.......................................................

Charles Griffith
Senior Marketing Manager

.......................................................


  KVCHosting provides affordable and reliable hosting services to small and medium-sized businesses across the globe. The company's broad portfolio of cloud, virtual, and dedicated servers includes SEO-friendly hosting packages backed by detail-oriented support. 


.......................................................


Christine Preusler
HostingAdvice

.......................................................


  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 


.......................................................


Charles Griffith
Senior Marketing Manager