I have cPanel on shared hosting I'm using and it has an option for hotlinking protection, which seems to be working fine with a Wordpress install that has pretty permalinks disabled (uses the /p?=xxx link structure) - in this case it does deny hotlinking.
However, it doesn't seem to work with a Wordpress install with pretty permalinks enabled: even if the cPanel option for hotlink protection is on, I can still hotlink to images in that Wordpress install which uses pretty permalinks...
Both my Wordpress installs are in separate directories in the html root directory, which I have a domain linked to, so it looks something like this: http://mydomain.com/wordpress1/ and http://mydomain.com/wordpress2/. I saw that cPanel writes hotlinking protection rules to .htaccess file in the html root directory. Wordpress creates another .htaccess file in its installation directory (wordpress1) when pretty permalinks are enabled, and the rules in it seem to be overwriting the rules set up in the root .htaccess file...
In this case, can I just copy the hotlinking protection rules inserted by cPanel into html root .htaccess file over to the .htaccess file generated by the Wordpress install which is using pretty permalinks? Would that work to restore hotlinking protection?