Blocking entire country?
-
Hi folks,
We have a webiste and we see that large majority of attacks are from China, so we want to block China IP addresses (we have no customers from China).
My question is: will we get penalized by Google or other search engines?
Regards,
Nenad
-
Great! Thank you for your answer.
-
I am guessing the machine has a type of management on it. If you are on a static ip address I would have the sysadmin set the port to only accept connects from you, them, and the local connection from the sysadmin in the data center.
-
Thank you very much for the answer
There are mostly brute force attacks on known root port. Any ideas how to stop this in better way?
Thanks,
-
My question is: will we get penalized by Google or other search engines?
Let us know how it works. I might block New Jersey.
-
If you do not block googlebot ip addresses in the process, you will not get penalized. But remember google does not post a list of their bot ip addresses, so be careful and monitor your GWT for error messages.
On a side note, what kind of attacks are you getting, there might be better ways to block them.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Changing Links to Spans with Robots.txt Blocked Redirects using Linkify/jQuery
Hi, I was recently penalized most likely because Google started following javascript links to bad neighborhoods that were not no-followed. The first thing I did was remove the Linkify plugin from my site so that all those links would disappear, but now I think I have a solution that works with Linkify without creating crawlable links. I did the following: I blocked access to the Linkify scripts using robots.txt so that Google won't execute the scripts that create the links. This has worked for me in the past with banner ads linking to other sites of mine. At least it appears to work because those sites did not get links from pages running those banners in search console. I created a /redirect/ directory that redirects all offsite URLs. I put a robots.txt block on this directory. I configured the Linkify plugin to parse URLs into span elements instead of a elements and add no follow attributes. They still have an href attribute, but the URLs in the href now point to the redirect directory and the span onclick event redirects the user. I have implemented this solution on another site of mine and I am hoping this will make it impossible for Google to categorize my pages as liking to any neighborhoods good or bad. Most of the content is UGC, so this should discourage link spam while giving users clickable URLs and still letting people post complaints about people that have profiles on adult websites. Here is a page where the solution has been implemented https://cyberbullyingreport.com/bully/predators-watch-owner-scott-breitenstein-of-dayton-ohio-5463.aspx, the Linkify plugin can be found at https://soapbox.github.io/linkifyjs/, and the custom jQuery is as follows: jQuery(document).ready(function ($) { 2 $('p').linkify({ tagName: 'span', attributes: { rel: 'nofollow' }, formatHref: function (href) { href = 'https://cyberbullyingreport.com/redirect/?url=' + href; return href; }, events:{ click: function (e) { var href = $(this).attr('href'); window.location.href = href; } } }); 3 });
White Hat / Black Hat SEO | | STDCarriers0 -
C-Block and link juice
We manage a couple of different domains on different hosting providers. I want to consolidate to one provider, but one site has some good links juice to another site (actually just one link). Should I worry about having both sites on the same C-block - and probably the same IP address?
White Hat / Black Hat SEO | | ThomasErb0 -
Is it worth disavowing entire affiliate network?
Question for the pro's (all comments greatly appreciated) and it's doing my head in atmo. Recently, we received a temporary algorithmic penalty on one of our pages, which was originally ranking 12th, now 50+. We found out an affiliate put a site-wide link to our site, using the affiliate ID blablabla. I have taken a look at the exact link and checked the status codes on it, seems as if the link uses a 302 to our page. However, yes, you can argue that 302's d on't pass link juice, but I do believe that if a 302 remains in place for a while - Google will treat it as a 301. My question is: considering that affiliate links are causing us problems, is it worth disavowing the ENTIRE affiliate network? - we have over 100,00 links coming from them, all of which are targeting different pages and using different affiliate tracking ID's. What do you think - I don't want to disavow the site then realise it was actually some-what helping the site.
White Hat / Black Hat SEO | | Brett-S0 -
Effect of same country server hosting on SEO
Hello all, my question is if my website targets a country abc and I have server in the same country abc compared to suppose I shift my server to country xyz can it effect SEO and ranking of my website ?
White Hat / Black Hat SEO | | adnan11010 -
Block unwanted traffic
Hello everyone, I have started developing a website about 45 days ago. I have noticed that I'm receiving traffic from adult websites. I've been tracking the traffic via GA. I have not started my link build process yet, but I'm still receiving about 15 to 30 visits per day from these websites. I've had this domain name without use for about 5 years. The domain name was originally registered in 1998. I don't have a background on the previous owners so I wouldn't know their SEO practice. What's the best practice to block this traffic? Google has yet to index the domain by the brand keyword. I feel the referring traffic could be affecting my SERPs. Bing has already index the site and started referring traffic by the brand keyword. Yes, the brand keyword is on the domain name (brandkeyword.com). Thanks in advanced.
White Hat / Black Hat SEO | | vndflkvnlkzdfnv0 -
Forcing Entire site to HTTPS
We have a Wordpress site and hope to force everything to HTTPS. We change the site name (in wordpress settings) to https://mydomain.com In the htaccess code = http://moz.com/blog/htaccess-file-snippets-for-seos Ensure we are using HTTPS version of the site. RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] but some blogs http://stackoverflow.com/questions/19168489/https-force-redirect-not-working-in-wordpress say RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Which one is right? 🙂 and are we missing anything?
White Hat / Black Hat SEO | | joony0 -
Is linking out to different websites with the same C-Block IP bad for SEO?
Many SEOs state that getting (too many) links from the same C-Block IP is bad practice and should be avoided. Is this also applicable if one website links out to different websites with the same C-Block IP? Thus, website A, B and C (on the same server) link to website D (different server) could be seen as spam but is this the same when website D links to website A, B and C?
White Hat / Black Hat SEO | | TT_Vakantiehuizen0 -
Disavow tool for blocking 4 to 5 sites for Article Republishing
Am finding some very low authority sites (recently picked our articles from ezine and other article sites - written over a year back) and pasted on to there site. The number of articles copies are not 1 or 2, but more than 10-12 in all these domains This has also led to our anchor based url - backlink to us from them (a part of article). Have Wrote down to remove my author profile and articles - but there has been no response from webmaster of these sites. Is Disavow a right approach. The number of such sites are 4 or 5 in nature !!
White Hat / Black Hat SEO | | Modi0