SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Block a referrer with htaccess

    i want to block some who came from a referrer. how to block using htaccess?

  2. #2
    Barefoot on the Moon! silver trophy
    Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,531
    Mentioned
    52 Post(s)
    Tagged
    1 Thread(s)
    https://www.google.com/search?q=htaccess+block+referrer

    http://www.htaccess-guide.com/deny-v...s-by-referrer/

    That should get you started. If you run into problems, feel free to post your htaccess code.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain


Tags for this Thread

Bookmarks

Posting Permissions

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