2017 © Pedro Peláez
 

library blockseobots

Block Ahrefs, MajesticSEO and Seomoz robots from crawling your site.

image

jtaurus/blockseobots

Block Ahrefs, MajesticSEO and Seomoz robots from crawling your site.

  • Thursday, August 20, 2015
  • by jtauri
  • Repository
  • 1 Watchers
  • 3 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

blockseobots

This package blocks SEO link analytics crawlers from accessing your website. Use it if you don't want the competition snooping around your website or if you just want to save some bandwidth., (*1)

It block crawlers of:, (*2)

  • Ahrefs
  • MajesticSEO
  • Seomoz

Installation:

add, (*3)

"jtaurus/blockseobots": "dev-master", (*4)

to require in your composer.json file, (*5)

in command line, run:, (*6)

composer update, (*7)

Next, add:, (*8)

Jtaurus\BlockSeoBots\ServiceProviders\BlockSeoBotsServiceProvider::class, (*9)

to providers array inside config/app.php, (*10)

The final step is to add:, (*11)

\Jtaurus\BlockSeoBots\Middleware\BlockSeoBotsMiddleware::class, (*12)

into the the middleware array inside kernel.php, (*13)

Config:

The array of forbidden user agents is located inside BlockSeoBots class. If you want to block another crawler, simply add a part of its user agent there., (*14)

protected $forbiddenUserAgentSubstrings = array( 'ahrefsBot', 'mjseo', 'seomoz', 'rogerbot');, (*15)

The Versions

20/08 2015

dev-master

9999999-dev

Block Ahrefs, MajesticSEO and Seomoz robots from crawling your site.

  Sources   Download

Apache-2.0

The Requires

 

by Jakub Ciolek

laravel middleware seo seomoz ahrefs majesticseo