# TS20 — The URL structure is readable, stable and correctly encoded.

> Practical guide and complete protocol wording; fictional examples, without a website assessment.

Version: 0.3.0-draft.9 — published draft release.

Commit: `d6a6e73f5c21d52131d3f4e39cde309d97385cbc`.

SHA-256 (spec/protocol.json): `3af55b64677ccd74d3ccfcc49f3dbf469c90fb214844fe13c5f10773a11d9041`.

Attribution: Edikka. Protocol text and data: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

[Normative JSON source](https://github.com/web-evidence/tsep/blob/v0.3.0-draft.9/spec/protocol.json).

[Canonical HTML control page](https://tsep-protocol.org/en/controls/TS20).

## URL structure. Stable addresses.

Check URL encoding, case and stability using a variant matrix. Prepare changes without losing old addresses.

Editorial responsibility: Edikka. Guide updated 2026-10-28 · 2026-10-28.2

### 01 · Understand

A URL is an address used by links, browsers and integrations. Making it more readable does not alone justify a migration. TS20 examines the chosen rule, encoding and observed variations, accounting for actual server behaviour.

The rule must match application behaviour. A readable convention does not justify merging distinct resources.

- **URL encoding** — Representation of characters in an address; it is separate from HTML escaping used to publish the address in a page.
- **Stability** — Preservation of a useful address over time, or a documented transition when changing it is necessary.

Google recommends understandable URLs and consistent variant handling. Stability and behaviour remain essential to verify. [URL structure for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure).

### 02 · Check — Read the raw URL. Observe the request.

Use source HTML and Chrome Network. Address-bar text may be decoded for display: also retain href and the request URL.

1. Agree useful conventions with the application: case, slash, parameters and characters. List genuinely distinct routes before any normalisation.
2. Record the original value, generated link and received request. Look for encoding applied a second time to an already encoded string.
3. Test variants on the server and compare their content. Google treats /APPLE and /apple as different URLs; your application may serve identical or different responses.
4. Fix the producing step, then affected links and signals. If an old URL was public, decide its future based on established equivalence; do not impose a purely cosmetic migration.

#### Identify double encoding

**Fictional example · values, not commands**

```text
Intended segment: café
UTF-8 encoding: caf%C3%A9
Double encoding: caf%25C3%25A9
Intended link: /articles/caf%C3%A9
Incorrect link in this scenario: /articles/caf%25C3%25A9
```

%25 represents the percent sign. In this example, the generator encoded the percent signs of an already encoded value. Keep business text separate from URL serialisation; test the result against the actually intended route.

Do not blindly decode and rewrite every URL: reserved characters can change its structure. Accents are not inherently forbidden.


#### An accent encoded twice

Fictional example, illustrative values.

Before

```text
Expected address: /caf%C3%A9
Generated link: /caf%25C3%25A9
Response: route not found
```

After

```text
Link: /caf%C3%A9
One encoding pass at the appropriate layer
Expected response and content verified
```

The fix targets link generation. It does not require removing every accent from existing URLs.

#### Evidence to retain

Approved conventions, raw and encoded examples, request captures, compared content and change plan.

#### Scope of the conclusion

URL readability alone does not predict SEO performance. Verification remains limited to tested rules and variants.

#### Continue in TSEP Control

Prepare the evidence described in this guide. The application shows available workflows and required inputs: a control’s presence in the catalogue does not mean its automatic assessment is available.

[TSEP Control](https://app.tsep-protocol.org/?lang=en)

### 03 · Act — Encode once. Preserve meaning.

#### Double encoding

Separate URL construction from escaping in the output format. Test the actual followed link and received request.

#### Uncontrolled case

Determine whether routes identify the same resource. Global lowercasing can break case-sensitive identifiers.

#### Address changed without a transition

Restore consistent handling of old URLs, then align links and references. Check redirects with TS02.

Who acts: Development, SEO and integration owners.

### 04 · Recheck — Links corrected. Old URLs accounted for.

Compare the new link, request and response with original intent. Keep a case-sensitive route and a reserved-character case in the generator checks.

1. Repeat failed characters and variants from several entry points.
2. Check that useful old links have planned treatment after migration.

### Frequently asked questions

#### Must accents be removed?

There is no universal requirement. Check encoding and the tools producing or consuming addresses before deciding on a migration. [Reference](https://developers.google.com/search/docs/crawling-indexing/url-structure).

#### Does case matter in a path?

Google treats /APPLE and /apple as different URLs. The server may return the same or different responses: test the routes and do not assume equivalence before merging them. [Reference](https://developers.google.com/search/docs/crawling-indexing/url-structure).

### Statuses, sources and related controls

- **C · Conforming** — The applicable rules are evidenced within the declared scope. Read this control’s scope: C certifies neither the whole site nor a search engine outcome.
- **NC · Nonconforming** — Attributable evidence contradicts an applicable expectation. An unknown on another point does not erase that contradiction.
- **NT · Not tested or inconclusive** — Required evidence, context or review is missing or unresolved. The detailed rules specify the conditions for a conclusion.
- **NA · Not applicable** — No public URL in scope.

- [URL structure for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure) · accessed 2026-10-28
- [RFC 9110 — HTTP semantics](https://www.rfc-editor.org/rfc/rfc9110.html) · accessed 2026-10-28
- [WHATWG: percent-encoded bytes](https://url.spec.whatwg.org/#percent-encoded-bytes) · accessed 2026-10-28

- [TS38 — Check convergence of equivalent variants.](https://tsep-protocol.org/en/controls/TS38)
- [TS02 — Check address transitions.](https://tsep-protocol.org/en/controls/TS02)
- [TS19 — Define parameter purposes.](https://tsep-protocol.org/en/controls/TS19)

---

## Complete protocol wording

Domain: URL spaces.

Rule version: 0.3.0-draft.2.

## Required inputs

crawl, configuration, intent

## Applicability

Published URL patterns.

## Procedure

Identify spaces, fragments, encoded characters, case and volatile identifiers.

## Expectation

Encoding, case, stability and variations match declared rules; no observed unintended variant is left without a decision.

## Evidence

Documented URL patterns and no unintended variants.

## Non-applicability

No public URL in scope.

## Limitations

A readable URL is not sufficient evidence of SEO performance.

## Outcome clarification

C requires all expectations across the declared scope. NC requires evidenced contradiction; otherwise NT. NA requires evidence of non-applicability.

## Reference scope

Technical reference; the TSEP acceptance rule remains an editorial proposal.

## Atomic rules

### TS20-A01 — URL shape under supplied policy

#### Required inputs

crawl, configuration, intent

#### Applicability

Explicitly selected TS20 items; url-policy-v1 profile defined in docs/url-policy-evidence.md.

#### Procedure

Read the later capture and url-shape-config-v1. Check spaces/controls, backslashes, percent escapes, fragments and path case against prior choices; require human readability review.

#### Expectation

Configuration matches the plan and every URL satisfies its lexical axes. A qualified mismatch fails. No implicit case change or decoding.

#### Evidence

Prior plan, original bytes and SHA-256, dates/context, atomic observations, reasoned human review bound to the entire dossier. Kinds: crawl, configuration, intent.

#### Assumptions

Supplied population and provenance; review assumes scope sufficiency and business judgment. Content, imported verdicts or hashes never prove authenticity.

#### Inconclusive outcome

Unsupported URL/authority, unknown policy, missing capture or review: inconclusive.

#### Non-applicability

No atomic exemption in this profile. Empty population or absent evidence: NT, never automatic NA.

#### Limitations

Bounded offline reading, without collection, browser execution, generated human judgment or real audit. Reviewed source scope only; no site completeness, indexing, ranking or causality inferred.

### TS20-A02 — Temporal stability and variation decisions

#### Required inputs

crawl, configuration, intent

#### Applicability

Explicitly selected TS20 items; url-policy-v1 profile defined in docs/url-policy-evidence.md.

#### Procedure

Compare two ordered url-crawl-v1 captures with matching identities; every changed URL requires one reasoned before/after decision in the reviewed plan.

#### Expectation

URLs match at the two dates or their variation is explicitly decided and reviewed. An observed change without a decision fails.

#### Evidence

Prior plan, original bytes and SHA-256, dates/context, atomic observations, reasoned human review bound to the entire dossier. Kinds: crawl, configuration, intent.

#### Assumptions

Supplied population and provenance; review assumes scope sufficiency and business judgment. Content, imported verdicts or hashes never prove authenticity.

#### Inconclusive outcome

One date, reversed/equal dates, missing identity or review: inconclusive. Future stability remains unknown.

#### Non-applicability

No atomic exemption in this profile. Empty population or absent evidence: NT, never automatic NA.

#### Limitations

Bounded offline reading, without collection, browser execution, generated human judgment or real audit. Reviewed source scope only; no site completeness, indexing, ranking or causality inferred.

## References

- [https://developers.google.com/search/docs/crawling-indexing/url-structure](https://developers.google.com/search/docs/crawling-indexing/url-structure)
