Rewrites: Slug Modification #22333
Unanswered
VinayaSathyanarayana
asked this question in
Help
Replies: 2 comments 2 replies
-
Ability to modify slugs and reuse the pre-rendered page will be a great feature. Please include it in the roadmap and prioritize it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also see #22012 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use Statically Generated Pages and not Server Side Rendering
Slug Modification Use Case 1 - Truncation to 2 digits after the decimal
When a user requests for /pages/12.3456
I want to render /pages/12.34
When a user requests for /pages/78.23456
I want to render /pages/78.23
When a user requests for /pages/1.23456
I want to render /pages/1.23
Slug Modification Use Case 2 -Rounding to 2 digits after the decimal
When a user requests for /pages/12.3456
I want to render /pages/12.34
When a user requests for /pages/78.23789
I want to render /pages/78.24
When a user requests for /pages/1.23456
I want to render /pages/1.23
Is it possible to do simple slug transformations without resorting to Server Side Rendering
Beta Was this translation helpful? Give feedback.
All reactions