Skip to content

Add category URL segments (/Category/{id}/{name})#1622

Merged
w8tcha merged 1 commit into
YAFNET:masterfrom
mt0321:fix/category-url
Mar 16, 2026
Merged

Add category URL segments (/Category/{id}/{name})#1622
w8tcha merged 1 commit into
YAFNET:masterfrom
mt0321:fix/category-url

Conversation

@mt0321

@mt0321 mt0321 commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

Category links previously used query strings (?c=16&name=...). Now they use /Category/{id}/{name}, similar to the v3 format (/category/{id}-{name}) but updated to match the v4 slug style used by Topics and Posts.

Uses URL rewrite middleware to map incoming /Category/{id}/{name} requests to the Index page. Route definition is centralized in CategoryRouteHelper, which provides both the URL builder (used by LinkBuilder.GetCategoryLink) and the rewrite rules.

Category links previously used query strings (?c=16&name=...).
Now they use /Category/{id}/{name}, similar to the v3 format
(/category/{id}-{name}) but updated to match the v4 slug style
used by Topics and Posts.

Uses URL rewrite middleware to map incoming /Category/{id}/{name}
requests to the Index page. Route definition is centralized in
CategoryRouteHelper, which provides both the URL builder
(used by LinkBuilder.GetCategoryLink) and the rewrite rules.
@w8tcha w8tcha added this to the 4.0.3 milestone Mar 16, 2026
@w8tcha

w8tcha commented Mar 16, 2026

Copy link
Copy Markdown
Member

Thanks

@w8tcha w8tcha merged commit 895c8c3 into YAFNET:master Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants