Skip to content

Page basics audit rules

View as Markdown

Sonjoo groups 27 checks under Page basics (core). Select this category with sonjoo audit <url> --categories core, or pass the category ID in an HTTP audit request.

This category has weight 11 in the overall audit score when it has scored results. Sonjoo normalizes category weights over the categories with scored results.

All audit categories · Rule settings and interpretation

Checks for a nonblank HTML document title. An SVG graphic title alone does not provide a document title.

Inputs. A parsed response body is available.

Evidence. The found or empty flag and the document title.

Base scoring weight 25 when measured.

Measures the document title in UTF-16 units. A missing or blank title fails, and a nonblank title outside the 30–60 unit editorial range warns.

Inputs. A parsed response body is available.

Evidence. Measured UTF-16 length and editorial range.

Base scoring weight 1 when measured.

Require a nonempty meta description where this check is selected.

Inputs. A parsed response body is available.

Evidence. Presence and empty flags, followed by the declared value.

Base scoring weight 15 when measured.

Measures the meta description in UTF-16 units. Missing, blank or out-of-range descriptions warn. The default range is 120–160.

Inputs. A parsed response body is available.

Evidence. Measured UTF-16 length and editorial range.

Base scoring weight 1 when measured. Has configurable thresholds or options.

Require a nonempty HTML canonical annotation where this check is selected.

Inputs. A parsed response body is available.

Evidence. Presence and empty flags, followed by the declared value.

Base scoring weight 10 when measured.

Require an absolute HTTP(S) URL in an HTML canonical tag.

Inputs. A parsed response body is available.

Evidence. Canonical text and absolute URL flag.

Base scoring weight 1 when measured.

Require a nonempty viewport declaration where this check is selected.

Inputs. A parsed response body is available.

Evidence. Presence and empty flags, followed by the declared value.

Base scoring weight 20 when measured.

Require a nonempty favicon link where this check is selected.

Inputs. A parsed response body is available.

Evidence. Presence and empty flags, followed by the declared value.

Base scoring weight 1 when measured.

Require an actual text heading at the highest level.

Inputs. A parsed response body is available.

Evidence. Heading count and the first heading text.

Base scoring weight 15 when measured.

Expect a single top-level heading as an editorial convention.

Inputs. A parsed response body is available.

Evidence. Heading count and the first heading text.

Base scoring weight 1 when measured.

Compares resolved HTML and HTTP Link canonicals. Distinct targets across the two sources produce a warning.

Inputs. HTTP headers and parsed HTML are available.

Evidence. Both canonical values and match flag.

Base scoring weight 7 when measured.

Report directives that prevent a Google text snippet, including max-snippet:0.

Inputs. The full indexing declarations in HTML and HTTP headers are available.

Evidence. Directive sources and the identified restriction.

Base scoring weight 7 when measured.

Surface supported standalone robots restrictions, including noindex, nofollow, noarchive, nosnippet, noimageindex and none, from generic or crawler-scoped markup and headers.

Inputs. HTML and HTTP indexing declarations are observed.

Evidence. Directive source and the identified restriction.

Base scoring weight 5 when measured.

Compare normalized descriptive titles only across eligible crawled HTML pages.

Inputs. A page title and eligible crawl records are required.

Evidence. Compared title and affected duplicate URLs.

Base scoring weight 5 when measured. Has configurable thresholds or options.

Compares resolved HTML and HTTP Link canonicals. Distinct targets across the two sources produce a failure.

Inputs. HTTP headers and parsed HTML are available.

Evidence. Both canonical values and match flag.

Base scoring weight 8 when measured.

Flag a non-homepage page that declares the site homepage as canonical.

Inputs. A parsed response body is available.

Evidence. Page and canonical target comparison with context flags.

Base scoring weight 6 when measured.

Flag HTTPS pages declaring a downgrade to an HTTP canonical. An HTTP page may declare an HTTPS canonical.

Inputs. A parsed response body is available.

Evidence. Page and canonical target comparison with context flags.

Base scoring weight 7 when measured.

Identify a non-self canonical as a candidate for cross-page loop verification.

Inputs. A parsed response body is available.

Evidence. Page and canonical target comparison with context flags.

Base scoring weight 7 when measured.

Flag a page that declares both noindex and a canonical to a different URL.

Inputs. A parsed response body is available.

Evidence. Page and canonical target comparison with context flags.

Base scoring weight 7 when measured.

Find canonical links located outside document head.

Inputs. A parsed response body is available.

Evidence. Count and href of misplaced canonical links.

Base scoring weight 8 when measured.

Identify attributes Google excludes from canonical annotations and flag unnecessary attributes.

Inputs. A parsed response body is available.

Evidence. Invalid and superfluous attribute names.

Base scoring weight 7 when measured.

Distinguish a single HTML canonical from duplicate and conflicting elements.

Inputs. A parsed response body is available.

Evidence. Canonical element count, values and agreement.

Base scoring weight 6 when measured.

Report whether the declared canonical targets another authority without treating syndication as a failure.

Inputs. A parsed response body is available.

Evidence. External flag, authority and canonical URL.

Base scoring weight 1 when measured.

Distinguish opposing and redundant generic index/follow directives in HTML and response headers.

Inputs. Both response channels are available.

Evidence. Conflicting directive names or counts of redundant declarations.

Base scoring weight 5 when measured.

Interpret a Google unavailable_after date relative to the audit time and flag malformed dates.

Inputs. The audit clock is fixed and Googlebot applicable directives are available.

Evidence. Earliest parsed expiration or unparseable directive.

Advisory. Excluded from scoring.

Flag obsolete Yahoo Directory and DMOZ snippet controls when encountered.

Inputs. At least one robots declaration is available.

Evidence. Obsolete directive token and location.

Advisory. Excluded from scoring.

Flag fragment-bearing canonical targets.

Inputs. A parsed response body is available.

Evidence. Source channel, original fragment URL and destination before the fragment.

Advisory. Excluded from scoring.