Skip to content

Site infrastructure audit rules

View as Markdown

Sonjoo groups 19 checks under Site infrastructure (technical). Select this category with sonjoo audit <url> --categories technical, or pass the category ID in an HTTP audit request.

This category has weight 7 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

Check whether the site exposes an accessible robots.txt file at the top level.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. File URL and status code.

Base scoring weight 1 when measured.

Check recognized robots policy lines, reporting malformed records with their line numbers.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Parsed user-agent and sitemap declarations or line-specific syntax findings.

Base scoring weight 1 when measured.

Find a sitemap at the default path or one explicitly declared in robots.txt.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Checked locations and locations returning HTTP 200.

Base scoring weight 1 when measured.

Check the sitemap’s lexical root, sitemap namespace, entry markers and per-entry absolute locations.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Sitemap URL, number of entries and structure issues.

Base scoring weight 1 when measured.

Assess readability signals including underscores, serialized length, extension and query complexity.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Path and total lengths and applicable finding descriptions.

Base scoring weight 1 when measured.

Identify internal paths linked in both slash variants, while allowing differing conventions across different resources.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Counts by style and the conflicting path.

Base scoring weight 1 when measured.

Compare the initial status and final destination of both hostname variants. Accept one preferred host when the alternate redirects permanently.

Inputs. Both in-scope hostname variants can be resolved through the normal guarded HTTP transport.

Evidence. Both initial hosts and their observed response destinations.

Base scoring weight 1 when measured.

Request a deliberately nonexistent page and confirm it returns a useful HTTP 404 response.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Initial status, custom error page flag and signs of navigation.

Base scoring weight 1 when measured.

Flag a 200 response whose short page content signals that the requested entity is missing.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Status, observed indicator and word count.

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

Identify HTTP 5xx status codes as server errors.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. The observed HTTP status and error class.

Base scoring weight 10 when measured.

Separate non-404 client errors from normal responses and dedicated 404 handling.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. The observed status and error class.

Base scoring weight 8 when measured.

Classify measured page response latency at explicit Sonjoo thresholds.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Response time and applicable decision threshold.

Base scoring weight 8 when measured.

Check the Content-Type of an intended HTML document.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. The declared and normalized media types.

Base scoring weight 8 when measured.

Flag a 200 HTML document with no payload or with empty document content.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Status code and HTML length.

Base scoring weight 10 when measured.

Identify forms that use the GET method, including a missing method attribute.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Form count and action URLs.

Base scoring weight 4 when measured.

Identify distinct Google Tag Manager container identifiers in script sources and bodies.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Sorted distinct identifier list.

Base scoring weight 1 when measured.

Identify distinct Google Analytics property identifiers in script sources and bodies.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Sorted distinct identifier list.

Base scoring weight 1 when measured.

Check for evidence of Google tag consent configuration when the page embeds a Google tag.

Inputs. The relevant HTML, HTTP response or collected site probe is available.

Evidence. Presence of a Google tag and static consent setup signal.

Base scoring weight 3 when measured.

Verify that a declared AMP URL loads and links back to the original canonical page.

Inputs. The AMP relationship is declared from the audited parent.

Evidence. AMP target, observed status and AMP canonical destination.

Advisory. Excluded from scoring.