Toxic Hotlinking | How to Prevent Image Hotlinking
You can type this: inurl:yourwebsite.com -site:yourwebsite.com into to Google Image Search to see if people are hotlinking your files.
After that you can just can change file names on your server to stop people hotlinking.
In my case, I would search for this:
inurl:agreatdream.com -site:agreatdream.com
Then from the following pages change URLs or image addresses.
Hope this helps you remove toxic hotlinking from your site.
Whitelisting sites to link to your content
Add a code snippet to your .htaccess file
Go to the main file directory of your website and open your .htaccess file.
Scroll to the end of it and paste in the following code:
/* Prevent image hotlinking in WordPress */
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?yourwebsite.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?facebook.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?twitter.com [NC]
RewriteCond %{HTTP_REFERE
