Quantcast
Viewing all articles
Browse latest Browse all 12486

Reply To: Hotlink Protection Do Not Block Google, Bing or Yahoo

Hi AITpro,

That’s the problem of globalization – one customer is just starting work when you’re finishing!!!

Thanks for your reply – so what I understand from you/the above is that if i sort out some hotlink protection code in my imagelibrary sub-folder .htaccess file, then I’d put the following code into my wp root .htaccess file… which I’ll check out with the other software supplier too.

# WP REWRITE LOOP START
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# RewriteRule for Custom Apps outside of WP
RewriteRule ^imagelibrary/ - [L]

OR couldn’t I just whitelist the imagelibrary sub-folder in the wp .htaccess rules in my wp root .htaccess as I mentioned first as I thought the ‘*’ bit after the domain name covered all domain name extensions and sub-folders? If so, how would this be written? many thanks, as always!
ps: how do i add in examples of code properly into your forum, as i can’t find the ‘code’ edit button?? Thanks.

  • This reply was modified 11 hours, 20 minutes ago by  AITpro Admin.
  • This reply was modified 11 hours, 15 minutes ago by  AITpro Admin.

Viewing all articles
Browse latest Browse all 12486

Trending Articles