Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/control-panel/settings/template.md
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exception only applies to an uppercase letter “P”, it doesn’t apply to the lowercase letter “p”. So perhaps the wording could be:

NOTE: Note: The pagination indicator, upper-case P# is considered a valid first segment and will not trigger a 404 in order to allow pagination on the index page. Thus https://example.com/P5 will not trigger a 404 with strict_urls enabled.

Copy link
Contributor

@TomJaeger TomJaeger Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great call out... @robinsowell updated in #1094

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ If you wish to extend this to the second segment, requiring a valid template, th

Our official recommendation is that users **enable** Strict URLs, as doing so makes the path to your content more precise, allows more relevant 404 pages, and does not allow your content to be shown with variances in the URL structure. However, for legacy reasons, Strict URLs are disabled by default.

NOTE: **Note:** The pagination indicator Px is considered a valid first segment and will not trigger a 404 in order to allow pagination on the index page. Thus https://example.com/P5 will not trigger a 404 withe strict_urls enabled.

### 404 page

This determines which template should be displayed when someone tries to access an invalid URL. If you choose "None", a standard 404 message and server header will be shown.
Expand Down
2 changes: 2 additions & 0 deletions docs/general/system-configuration-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -2987,6 +2987,8 @@ Example Usage:

$config['strict_urls'] = 'n';

NOTE: **Note:** The pagination indicator Px is considered a valid first segment and will not trigger a 404 in order to allow pagination on the index page. Thus https://example.com/P5 will not trigger a 404 withe strict_urls enabled.

**Also found in CP:** `Settings --> Template Settings`: [Enable Strict URLs](control-panel/settings/template.md#enable-strict-urls)

## `template`
Expand Down