# TS38 — Host, case and trailing-slash variants converge on one rule.

> 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/TS38).

## URL variants. A verified rule.

Test www, non-www, case and slash according to actual equivalence. Compare redirects, canonicals, links and sitemap with the chosen preference.

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

### 01 · Understand

Choosing www or a trailing slash is a convention; the important point is consistent behaviour of genuinely equivalent variants. TS38 checks their routes and internal signals without merging resources that should remain distinct.

TS38 requires one hop here for equivalent variants. A same-host HTTPS redirect required by a preload arrangement can conflict with this profile when a host change follows; this version provides no exception. TS02 retains its own route plan.

- **Equivalent variant** — A different address intended to represent the same resource under a prior decision.
- **URL preference** — The form chosen for links, sitemap and canonical signals, with explicit exceptions.

Canonicalization guidance helps express a consistent preference. Choosing www or non-www remains a site decision. [Specify a canonical URL](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls).

### 02 · Check — Define variants. Observe their destination.

Write equivalences before testing. For each route, combine only relevant scheme, host, case and slash variants; a case-sensitive identifier must not be merged arbitrarily.

1. Declare preferred URL and exceptions with the technical owner. Check HSTS/preload commitments before choosing HTTP rules.
2. With an HTTP client without implicit HSTS state, record every status and Location to the destination. Compare browser behaviour separately.
3. Check final response, canonical, internal links and sitemap. TS38 requires one-hop convergence for declared equivalent variants.
4. Combine compatible normalisations, then repeat the matrix. If a security constraint requires an intermediate hop, document the conflict without inventing a profile exception.

#### The HSTS preloading special case

**Fictional route · initial host then preferred host**

```text
http://example.com/page
→ https://example.com/page
→ https://www.example.com/page
Context: examine preload requirements if HTTP listens on port 80
```

For preloading, if port 80 listens, hstspreload.org requires redirecting to HTTPS on the same host first. Subsequently changing to www can produce two hops, conflicting with this version’s TS38 requirement.

This known conflict must remain visible: do not sacrifice a security constraint or declare the profile satisfied by exception. Normative changes belong in the protocol; this guide does not create one.


#### Three normalizations applied successively

Fictional example, illustrative values.

Before

```text
http://example.com/Offer
→ https://example.com/Offer
→ https://www.example.com/Offer
→ https://www.example.com/offer/
```

After

```text
Equivalent variant
→ https://www.example.com/offer/ in one hop
Links, sitemap and canonical aligned
```

www and the slash are choices in this example. TS38 requires one-hop convergence for declared variants; do not confuse that requirement with TS02’s hop plan.

#### Evidence to retain

Approved matrix, route captures, final responses, canonicals, link and sitemap corpus, decisions on distinct resources.

#### Scope of the conclusion

The result concerns tested variants. A formatting convention is not a guaranteed ranking advantage and does not prove Google’s canonical choice.

#### 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 — A preferred address. Compatible rules.

#### Normalization chain

Combine compatible decisions into the intended destination rule and test all entries. Check that no useful exception is overwritten.

#### Links to an old variant

Update the link generator and sitemap. A correct redirect does not remove the need to publish preferred addresses.

#### Distinct resources merged

Stop the affected normalization and revise equivalence. Identifier case can be significant.

Who acts: Operations, development and SEO.

### 04 · Recheck — Every variant. The same expected result.

Compare the entire matrix and its signals. Keep route outcome, security policy and TSEP profile limitation separate.

1. Repeat the entire matrix after any proxy or router change.
2. Check links and files generated from the new rules.

### Frequently asked questions

#### Is WWW better than non-WWW for SEO?

This control assigns no advantage to either. Choose the form suited to the site and verify consistency across variants and signals. [Reference](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls).

#### Should everything be lowercased?

Not without checking the application. Case-sensitive paths or identifiers may represent different resources. [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 relevant variant after an explicit inventory.

- [Specify a canonical URL](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) · accessed 2026-10-28
- [URL structure for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure) · accessed 2026-10-28
- [Versioned TSEP protocol](https://github.com/web-evidence/tsep/blob/v0.3.0-draft.9/spec/protocol.json) · accessed 2026-10-28
- [HSTS preload: same-host HTTPS redirect](https://hstspreload.org/) · accessed 2026-10-28

- [TS02 — Analyze observed redirects.](https://tsep-protocol.org/en/controls/TS02)
- [TS10 — Check canonical declarations.](https://tsep-protocol.org/en/controls/TS10)
- [TS20 — Document address conventions.](https://tsep-protocol.org/en/controls/TS20)

---

## Complete protocol wording

Domain: URL spaces.

Rule version: 0.3.0-draft.2.

## Required inputs

http, html, sitemap, crawl, intent

## Applicability

Host, case and slash variants of resources declared equivalent.

## Procedure

Replay www/non-www, HTTP/HTTPS, relevant case and trailing-slash variants on sample routes; compare redirect, canonical, sitemap and links.

## Expectation

Every tested variant follows the declared rule; redirects, canonicals, sitemaps and links agree without merging distinct resources.

## Evidence

One stable final URL per resource, no chain and consistent internal signals.

## Non-applicability

No relevant variant after an explicit inventory.

## Limitations

Case can be significant depending on the server and application; the rule must be tested, not assumed.

## 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

### TS38-A01 — Trajectories and canonicals of equivalent variants

#### Required inputs

http, html, content, intent

#### Applicability

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

#### Procedure

Require reviewed equivalence and read every native trajectory: one hop from each variant, direct200 preferred response, HTTP/HTML canonical pointing to it.

#### Expectation

Every variant converges in one hop and every qualified canonical agrees. Declared merging of distinct resources or native disagreement fails.

#### Evidence

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

#### Assumptions

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

#### Inconclusive outcome

Missing trace/canonical, undecided equivalence or necessary rendering: 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.

### TS38-A02 — Internal signals for variants

#### Required inputs

sitemap, html, crawl, content, intent

#### Applicability

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

#### Procedure

Read the selected complete native urlset and every planned link source. Require the preference in that sitemap, no nonpreferred variant in sitemap/links, and equivalence/scope review.

#### Expectation

Sitemap and scoped links agree with the preference; disagreement or merging distinct pages fails. Zero links remains an observation of the complete supplied corpus.

#### Evidence

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

#### Assumptions

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

#### Inconclusive outcome

XML index, truncated file, missing link source, ambiguous population/review: inconclusive; no global absence inferred.

#### 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/consolidate-duplicate-urls](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
