Skip to content

MetaRobotsChecker should use rules based on URLs instead of paths #17

Open
@cristiingineru

Description

@cristiingineru

Currently, the rules of metaRobotsChecker are expressed using paths which is not consistent with other rules like, for example, used by ContentChecker or HreflangChecker.

Basically, metaRobotsChecker instead of using rules expressed like this:

[
    {
        "path": "/path1/.*",
        "index": true,
        "follow": true,
    },
    {
        "path": "/path2/.*",
        "index": true,
        "follow": true,
    }
]

should switch to:

[
    {
        "url": "https://www\.domain\.com/path1/.*",
        "index": true,
        "follow": true,
    },
    {
        "url": "https://www\.domain\.com/path2/.*",
        "index": true,
        "follow": true,
    }
]

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