Seo Forum

Search Engine Optimization => On Site Optimization => Topic started by: newnerd on 10-31-2018, 10:43:37

Title: How To Block Referrals to My Website Through .htaccess?
Post by: newnerd on 10-31-2018, 10:43:37
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.
Title: Re: How To Block Referrals to My Website Through .htaccess?
Post by: susanburling 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 (https://www.ip2location.com/blockvisitorsbycountry.aspx)
Title: Re: How To Block Referrals to My Website Through .htaccess?
Post by: John - Smith on 12-13-2018, 22:17:04
hey op

country firewall[link shared by susanburling] works for you? let us know  :)
Title: Re: How To Block Referrals to My Website Through .htaccess?
Post by: billyjhon on 07-15-2019, 04:30:41
Be exceptionally cautious contributing directions in the .htaccess record. ...

Login to your Google Analytics account.

Snap Admin.

Snap All Filters.

Give the channel a name.

Select Predefined.

Select 'Bar', 'traffic from IP locations' and 'that are equivalent to' in the cases underneath.
Title: Re: How To Block Referrals to My Website Through .htaccess?
Post by: Neel Patel on 07-18-2019, 22:48:11
Instead of asking an SEO person, ask this to a developer!
they can help you as they are good at reg exp. and these htacess files and all!