dev-master
9999999-devBlock Ahrefs, MajesticSEO and Seomoz robots from crawling your site.
Apache-2.0
The Requires
- php >=5.5.9
- illuminate/routing 5.1.*
- illuminate/config 5.1.*
by Jakub Ciolek
laravel middleware seo seomoz ahrefs majesticseo
Wallogit.com
2017 © Pedro Peláez
Block Ahrefs, MajesticSEO and Seomoz robots from crawling your site.
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)
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)
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)
Block Ahrefs, MajesticSEO and Seomoz robots from crawling your site.
Apache-2.0
laravel middleware seo seomoz ahrefs majesticseo