Ask a Question | Questions | Login or Register | 750 members

How I Stop Facebook Bot from Crawling my Blog

how to stop facebook bot from crawling websitesFacebook bot may be a monster or a good crawl bot but I have to stop it from crawling my site and end its useless hits on my statcounter statistics record.

I visited my site statistics this morning only to discover a huge hits recorded by visits of Facebook bot. I knew quite well that facebook acts like search engines but I have never recorded such hits from any other search engine like Google so why should I be recording hits from facebook bot. Yes, I share posts directly from site to facebook but I also share post from my site to Google. Other people also do the same things.

The annoying part of it all is that, these facebook bot are even crawling my posts, even pages and giving huge hits that seem like visits from real person. The sight of those hits gives ugly impression on my blog stats, so I decided to find a way to stop the bot from crawling my site.

I searched throughout webpages of the net for information on how to stop facebook bot only to discover that there are little or no information on how to stop facebook bot.

After a long futile endless search, I came across some piece of information saying that the only way to stop facebook bot is to edit the .htaccess of my server and block those IP addresses of thefacebook bot. How would this be possible for someone who is not web programmer-tech and as there are hundreds of IP addresses used by this bot.

At the end I was able to figure out some codes that stop the facebook bot from crawling my blog.

Now, if you don’t like those hits from facebook bot, these are simple step to stop the bot from crawling you sites;

  • On wordpress dashboard, locate appearance then editor.
  • Click on editor and then header.php file
  • On the header.php, locate <head>tag
  • Place this code immediately after the opening <header> tag

<?php

$ua = $_SERVER[‘HTTP_USER_AGENT’];

 if (preg_match(‘/facebookexternalhit/si’,$ua)) {

header(‘Location: no_fb_page.php’);

die() ;

}

  • Clicks save to update your header.php file.

These will chess away the facebook bot from your site. No need creating a bots page.php on your website root directory and directing those bots there or editing your .htacess document file because there are hundreds of IP addresses used by this facebook bot unless you are web programmer guru, then you can do that.

 

If you try this and it works for you, don’t forget to share this page or link to it (you permitted to do so)

How to Migrate to Glo Bounce & Bumpa; Codes & Benefits

Glo Bumpa is another call tariff plan from Globacom Nigeria, a prepared plan that offers 200% bonus on every recharge from N100 and above. For example, if you recharge N100, you get total of N300.  Glo Bumpa is cost effective tariff plan while the Glo Bounce offers a minimal low cost call rate of 12k/sec to all network in Nigeria and if you are on Peeps rate, Glo Bounce subscriber can another Bounce subscriber on a heavily discount of N5k/sec. You join Glo Bounce or Glo Bumpa, by buying a Glo SMS card, once you activate the SIM card you will be on default Glo infinitio call tariff plan, you can  join either Glo Bumpa or Glo Bounce by either dialing Glo Bounce Migration code or Glo Bumpa Migration code . As a Glo subscriber you don’t need to opt out from Glo infinitio if you are on Glo infinitio call tariff plan before migrating to either Glo Bounce or Bumpa.

To migrate to Glo Bounce, dial *170*4#

To migrate to Glo Bumpa, dial *100*10*1# and when ask for confirmation press 1

Additional benefits on Glo bounce

  • Free night calls –(from 12am -5am) if you had use N30 during the day
  • Free data on recharge of N200 and above. This valid for 7 days.
  • Free facebook browsing
  • Bounce to bounce call- 5k/sec
  • SMS-N3
  • Unlimited free SMS on every recharge for only Nigeria

Additional benefits on Glo Bumpa

  • Onnet calls rate- 50k/sec
  • Offnet call rate- 50k/sec
  • Free night call (from 12am-4:59am)  upon usage of just N30
  • Sunday talk express

 

You can check out Etisalat Easy Cliq and benefits to compare with Glo Bounce call tariff plan, or

For more information you can also visit www.gloworld.com  or dial their customer care

Businesses, Blogging, SEO, Social Media & Tech-Comm