# URLs audit rules

> Find all 14 Sonjoo URLs rules by ID, with the evidence and inputs each check uses.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/url/>

Sonjoo groups 14 checks under **URLs** (`url`). Select this category with `sonjoo audit <url> --categories url`, or pass the category ID in an [HTTP audit request](https://sajaddehshiri.ir/sonjoo-seo-audit/api/reference/#start-request-options).

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

[All audit categories](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/) · [Rule settings and interpretation](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/#use-a-rule-id)

## url-slug-keywords

Distinguish descriptive words from an opaque numeric, generic or dynamic route.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Flags for descriptive, dynamic and generic slugs.

Base scoring weight **15** when measured.

## url-stop-words

Apply an editorial cutoff to the share of common English stop words in slugs.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Parsed words, matched distinct stop words and rounded stop-word percentage.

Base scoring weight **10** when measured.

## url-uppercase

Warn on uppercase ASCII letters in the path; percent-escape hex digits and the query are excluded.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Path, distinct uppercase letters and total count.

Base scoring weight **5** when measured.

## url-underscores

Warn on literal underscores in the path.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Path and underscore count.

Base scoring weight **4** when measured.

## url-double-slash

Find repeated literal slashes in a path.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Path and proposed collapsed path.

Base scoring weight **5** when measured.

## url-spaces

Flag a percent-encoded space in the audited URL path or query.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Path and percent-encoded space flag.

Base scoring weight **6** when measured.

## url-non-ascii

Report non-ASCII code points in the decoded path or unparseable escapes.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Decoded path and count of non-ASCII code points, or the original malformed path.

Base scoring weight **4** when measured.

## url-length

Apply shorter-is-better URL length cutoffs to the full serialized URL.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Measured URL length and both cutoffs.

Base scoring weight **5** when measured.

## url-repetitive-path

Find identical adjacent path segments irrespective of ASCII case.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Parsed segment list and distinct repeated segment spellings.

Base scoring weight **4** when measured.

## url-parameters

Classify query complexity by parameter count and flag duplicate keys.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Parameter count and duplicate names where present.

Base scoring weight **5** when measured.

## url-session-ids

Flag recognized session identifier parameters or session identifiers embedded in the path.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** The matching pattern or original path.

Base scoring weight **7** when measured.

## url-tracking-params

Recognize ordinary campaign tracking identifiers independent of key case.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Detected tracking names and count.

Base scoring weight **5** when measured.

## url-internal-search

Heuristically identify likely internal search results from conventional query keys or search paths.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Matching path, search key and search value.

Base scoring weight **4** when measured.

## url-http-https-duplicate

Report a declared canonical that only changes the HTTP scheme of the observed page resource.

**Inputs.** The entry URL has been parsed. No network data is required.

**Evidence.** Page and canonical protocols and destination.

Base scoring weight **4** when measured.
