How to prevent image hotlinking for Joomla using FTP

Description
  • Hotlink protection prevents the other websites from linking to your images and files and thereby using your bandwidth. Let’s find it how to enable it using the Joomla directory. This is for the servers not having cPanel or some other control panel installed, or a control panel is installed that does not allow you to automatically add hotlink protection.
  • Your website must be on the server that runs Apache web server with mod_rewrite installed.
  • Firstly, a new text document is to be created.
  • Right click in the windows explorer, go to the new option and click Text Document. Name the file htaccess.txt and press enter.
  • Double click to open the file with notepad.
  • Here, we’ll need to type several lines of code that will determine which websites should be allowed to hotlink to your files, which types of files the hotlinking  should be imposed upon, as well as some related options.
  • Enter the codes and the related content with the required domain names
  • Press ctrl+S to save the file.
  • As the htaccess file is complete, it’s time to upload the file to the joomla directory using FTP.
  • For this tutorial, FireZilla is used to access our FTP server, any program can be used.
  • Joomla provides you with a htaccess.txt file that you can choose to use, so let’s find that one and rename it in case you may need it in future.
  • Now the file that we created is to be dropped in the Joomla directory on your server and scrolled up in order to find the file.
  • Right click and rename it to .htaccess. Windows would not allow naming it this.
  •  This is all that is required to prevent image hotlinking for joomla using FTP.

> 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
$14.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