How To Block Referrals to My Website Through .htaccess?

Discussion in 'Search Engine Optimization' started by arnavlinks, Oct 31, 2018.

  1. #1
    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 so on ...... to stop sending referrers to my website.
     
    arnavlinks, Oct 31, 2018 IP
  2. Manish.ebiztrait

    Manish.ebiztrait Active Member

    Messages:
    151
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    56
    #2
    Hi,
    You need to read this post for solution.

    https://dagmarmarketing.com/blog/blocking-referrer-spam-ghost-referrals/
     
    Manish.ebiztrait, May 7, 2019 IP
  3. mrb1129

    mrb1129 Well-Known Member

    Messages:
    688
    Likes Received:
    63
    Best Answers:
    7
    Trophy Points:
    175
    #3
    You can certainly block according to their country's ip. But I think that you should contact to Apache's support. Because if anyone can point you to the right direction is them.
     
    mrb1129, May 7, 2019 IP