Skip to content

SEO: incorrect usage of ld+json #1752

@rishi-raj-jain

Description

@rishi-raj-jain

Steps to reproduce

Visit any blog page's source, for example, of https://neon.tech/blog/remember-to-use-primary-keys-vs-unique-constraints-in-postgres shows that ld+json is outside of the <head> tag.

Expected result

The ideal place to have the ld+json is in the head tag: https://webmasters.stackexchange.com/questions/77541/where-is-the-ideal-place-in-code-to-use-schema-org-markup-as-json-ld#:~:text=From%20the%20perspective%20of%20HTML,contain%20metadata%20for%20the%20document..

Actual result

Right now the ld+json is at the bottom of the body tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugIssue Type: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions