Forum Moderators: phranque
[mydomain.com...]
to:
[mydomain.com...]
This needs to happen ONLY for people directed from off site. I tried modifying some hot-link-blocking code to accomplish this as follows:
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://(www\\.)?mydomain.com/.*$ [NC]
RewriteRule .*thisfolder.* [mydomain.com...] [R,L]
No luck, any thoughts? Thanks!
Try:
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.com [NC]
RewriteRule thisfolder http://www.example.com/tohere.php [R,L]
Jim