Skip to content

Google tried indexing element api URl #124

@piotrpog

Description

@piotrpog

I have element API endpoint which requires specific URL attributes to work.

If I enter directly endpoint URL in the browser, it returns error and error code 500:

{"error":{"code":2,"message":"Invalid argument supplied for foreach()"}}

This is expected behavior, but for some reason, google search console started including endpoint URL in its report. It didnt indexed that site, but showed error:

Server error (5xx)

Maybe there should be some additional HTTP header in such situation that would block google?

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