Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you allow google crawlers only if firewall.bot is enabled? #72

Open
k76600217 opened this issue Nov 15, 2023 · 1 comment
Open

Comments

@k76600217
Copy link

How can I allow only google crawlers if firewall.bot is enabled and how to test if works fine?

Currently my firewall config looks like:

'bot' => array (
    'enabled' => true,
    'methods' => 
    array (
        0 => 'all',
    ),
    'routes' => 
    array (
        'only' => 
        array (
        ),
        'except' => 
        array (
        ),
    ),
    'crawlers' => 
    array (
        'allow' => 
        array (
            0 => 'GoogleSites',
        ),
        'block' => 
        array (
        ),
    ),
    'auto_block' => 
    array (
        'attempts' => 5,
        'frequency' => 1 * 60,
        'period' => 30 * 60,
    ),
),

It's fine or I need to change anything?

@OzanKurt
Copy link

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants