Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question http:// to http://www.

    I'm using a .htaccess file to stop hotlinking to images on my site. It works fine for http://www.stephennewton.com, but http://stephennewton.com is treated as a hotlinker.
    There must be a simple way of sending http://stephennewton.com users to http://www.stephennewton.com

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Then fix your .htaccess file to include both pointers.......

  • #3
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks Willy, but how do you do that?

    The code I'm using is...

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://www.stephennewton.com/.*$ [NC]
    RewriteRule \.(gif|jpg)$ http://us.f2.yahoofs.com/users/402b5...Ri.4ABcv2FZBc3 [R,L]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •