Skip to content

[4.16.15]: Exclude preview pages from robots so they are not discoverable #18077

@wolispace

Description

@wolispace

What happened?

Description

When searching for x-craft-preview I see sites are 'exposing' their preview pages.

Maybe SEOMatic should also be adding no-robots, but you can't rely on a plugin for this, and it doesn't hide previews anyhow.

Steps to reproduce

  1. Go to google.com
  2. Search for "x-craft-preview"

Expected behavior

Useful documentation and help about the concept of "x-craft-preview" only

Actual behavior

Craft websites exposing preview pages

Craft CMS version

4.16.15

PHP version

8.0.30

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

  • SEOMatic 4.1.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions