: 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
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 ?
More posts by @Samaraweera270
1 Comments
Sorted by latest first Latest Oldest Best
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.)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.