Meta Tags in Body
Detects meta tags incorrectly placed in document body
Detects meta tags incorrectly placed in document body
| Rule ID | content/meta-in-body |
| Category | Content |
| Scope | Per-page |
| Severity | error |
| Weight | 8/10 |
Solution
Move all meta tags from <body> to <head>. Meta tags in the body are ignored by browsers and search engines. Common offenders: meta description, viewport, robots, and Open Graph tags. This is often caused by incorrect HTML structure or dynamic rendering issues.
Enable / Disable
Disable this rule
[rules]
disable = ["content/meta-in-body"]
Disable all Content rules
[rules]
disable = ["content/*"]
Enable only this rule
[rules]
enable = ["content/meta-in-body"]
disable = ["*"]