How To Block Referrals to My Website Through .htaccess?

Author Topic: How To Block Referrals to My Website Through .htaccess?  (Read 1176 times)

Offline newnerdTopic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 1
  • Karma: 0
I want to block referrals from a website and it's country level domains from visiting my website. - How can I do that from .htaccess?

for e.g: I wanna stop example.ru , example.dk, example.bd, example.in, example.nu and all example.** ...... to stop sending referrers to my website.


Offline susanburling

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 4
  • Posts: 39
  • Karma: 0
  • Gender: Female
    • PHP Development Company
Re: How To Block Referrals to My Website Through .htaccess?
« Reply #1 on: 12-03-2018, 00:05:31 »
You can block Visitors to your website by Country Using Firewall
This link might be helpful https://www.ip2location.com/blockvisitorsbycountry.aspx

Online John - Smith

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 100
  • Karma: 1
  • Gender: Male
    • online-paystubs
Re: How To Block Referrals to My Website Through .htaccess?
« Reply #2 on: 12-13-2018, 22:17:04 »
hey op

country firewall[link shared by susanburling] works for you? let us know  :)

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1090 Views
Last post 09-10-2011, 10:24:40
by Maddy
2 Replies
1835 Views
Last post 12-04-2014, 02:47:16
by Stephen
0 Replies
842 Views
Last post 04-27-2015, 17:09:57
by nqservices
3 Replies
1977 Views
Last post 08-04-2016, 04:45:21
by TomClarke
3 Replies
1446 Views
Last post 02-07-2017, 00:31:34
by gurujeet