What does hotlinking mean? Hotlinking is obtaining an image from a source to be displayed on another website illegally. It is an illegal act that can be prevented by changing the settings on the original source image. To know more about hotlinking, we will explain what it is, why it is bad, and how you can prevent it.
Hotlinking, as mentioned earlier, is a frowned-upon practice by people who use images from a website as their own, consuming the original source’s bandwidth. The appreciation of people for your images can sometimes cause problems because site visitors might get your content without your permission.
Sometimes, people unintentionally copy the content’s URL and paste it on another website, linking it directly to the original owner’s site. When people visit a site that “hotlinks” to your content, it uses your bandwidth.
This means that the more people who will access the content, the more of your bandwidth is consumed. Although this is an act of copyright infringement, other people who do this do not know or realize this is illegal or bad.
There are a few reasons why this practice is bad:
You can avoid hotlinking in a few ways, but before knowing them, check first if your content is “hotlinked”. To do this, type url:domain.com -site:domain.com in the search box of your search engine.
Replace domain.com with your site’s URL. Go to Images from the search results to see the sites with your content.
Used this keyword. Please check title if okay.
Once you make sure your images are “hotlinked”, you can proceed with the ways to prevent this from happening again.
Log in to your control panel and look for Hotlink Protection. Click on it once it appears in the search results.
In the Hotlink Protection settings, you will see various sites that can access your content. You will also see the types of content that will be blocked from your website.
Click the Enable button to enable the protection for hotlinking.
A CDN lets websites control traffic better by utilizing a cluster of servers in various places. Using a CDN enhances security, increases speed, and reduces use of bandwidth.
Just remember that every CDN has its own set of rules. You might be preventing hotlinking differently depending on the provider.
You can also avoid hotlinking with a plugin. You can try the All in One WP Security & Firewall plugin as one of the many hotlinking plugins in WordPress.
To install it, log in to your website and go to Plugins from your Dashboard menu. Select Add New and type the name of the plugin in the search box.
Once the plugin appears, click Install Now and then Activate on it.
Once the plugin is installed and activated, you will see WP Security from your Dashboard menu. Hover over to it and select Firewall.
On the Firewall page, select the Prevent Hotlinks tab and then tick the box for Check this if you want to prevent hotlinking to images on your site. Click Save Settings once done
Disabling the right click option for your content is also another way for hotlinking protection. To do this, go to WP Security and select Miscellaneous.
Go to Copy Protection and check the box for Check this if you want to disable the “Right Click”, “Text Selection” and “Copy” option on the front end of your site. Click Save Copy Protection Settings.
You must do this in your control panel. Log in to your control panel and go to File Manager under Files.
Open the public_html folder and look for the .htaccess file. Once found, save a copy of the file to your computer for backup.
Right click on the file and select Edit.
Copy the following code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bing.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mydomain.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]
Paste the code at the bottom of the edit page and replace “mydomain.com” with your site’s URL. Click Save Changes at the upper right side of the page once done.
Blocking hotlinking on your website does not hurt your site’s SEO. You must set up the protection properly though because some crawlers from search engines need your site’s images to correctly display and index them.
Blocking hotlinking on your website stops people from unintentionally stealing your images and saves bandwidth use. You can do this by configuring the settings of your control panel, using a CDN or WordPress plugins, disabling the right click option, or modifying the .htaccess file.
Make the necessary changes to your website now and stop people from unintentionally stealing content on your site!
© Innzone Hosting. All rights reserved.