Hi Jim,
My web host moved my site to a new server and now my htaccess coding to stop hot linking my images has stopped working. This is the code I have now:
# Return 403-Forbidden response for hotlinked image requests
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?mysiteA\.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?mysiteB\.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?thefind\.com [NC]
RewriteRule \.(jpe?g|gif|bmp|png|ico)$ - [F]
My webhost claimed to have "commented out my rewrite rules in the htaccess file", but the only htaccess file that I edit has no changes in it. I hope he did not do what he said. It would appear the only thing not working is the hotlinking rewrite rule.
Also, according to my host, the new server needs to use my URL without the www in order to generate the SSL. So, whenever the SSL is generated, the www does not appear in the URL. Otherwise, the www is always there. Would that mess up the coding for stopping hotlinking? The only thing I could think of to do was to remove the s in the https?:// part of the code. What do you think needs to be done?
-- grandma_genie