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
squirrel.toml
toml[rules]
disable = ["content/meta-in-body"]Disable all Content rules
squirrel.toml
toml[rules]
disable = ["content/*"]Enable only this rule
squirrel.toml
toml[rules]
enable = ["content/meta-in-body"]
disable = ["*"]