Skip to content

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

@k76600217

Description

@k76600217

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions