Package Data | |
---|---|
Maintainer Username: | jtauri |
Maintainer Contact: | truefear@gmail.com (Jakub Ciolek) |
Package Create Date: | 2015-08-20 |
Package Last Update: | 2015-08-20 |
Home Page: | |
Language: | PHP |
License: | Apache-2.0 |
Last Refreshed: | 2024-12-22 03:13:29 |
Package Statistics | |
---|---|
Total Downloads: | 10 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
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.
It block crawlers of:
##Installation:
add
"jtaurus/blockseobots": "dev-master"
to require in your composer.json file
in command line, run:
composer update
Next, add:
Jtaurus\BlockSeoBots\ServiceProviders\BlockSeoBotsServiceProvider::class
to providers array inside config/app.php
The final step is to add:
\Jtaurus\BlockSeoBots\Middleware\BlockSeoBotsMiddleware::class
into the the middleware array inside kernel.php
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.
protected $forbiddenUserAgentSubstrings = array( 'ahrefsBot', 'mjseo', 'seomoz', 'rogerbot');