Mobile app version of vmapp.org
Login or Join
Samaraweera270

: Geolocation Blocking and SEO I'm in process to block a particular geolocation from accessing my site. But i am not sure if this is going to raise any flags on my website. Basically i'm getting

@Samaraweera270

Posted in: #Geolocation #Seo

I'm in process to block a particular geolocation from accessing my site. But i am not sure if this is going to raise any flags on my website. Basically i'm getting lots of spam from particular state and there are some webmaster copying my content without any attribution or backlink. I feel that is enough and i wish to save my bandwidth on that state or geolocation.

So my question is how to block particular geolocation ? Do you have any suggestions for php scripts that help block particular geolocation ? and another question: if there are any SEO disadvantages ?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

There are many geolocation scripts and services out there, just search. Here's a PHP one for example. Usually you can get quite fine-grained location data.

As for SEO, it could harm your SEO if you block a search engine from accessing your website. Google has a limited presence in China, and Googlebot mostly (if not exclusively) operated from the USA. However other search engines like Baidu are popular.

You could first check whether the visitor is a search engine - e.g. check for "Googlebot" of "Baidu" in the user agent string. If they're not a search engine, run your geolocation check and block them if they match your target area. (Note, if they are specifically targeting your site there's a possibility they may get wise to this tactic and spoof the user agent.)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme