Skip to content
Discussion options

You must be logged in to vote

Hey, thanks for the detailed report!

I had a look at your reproduction: localized blog slugs come from MDX frontmatter (slug / sharedSlug), resolved at runtime via sharedSlug — that part looks good.

One thing I'd double-check in routing.ts: for fa you have "/[slug]/وبلاگ". Putting [slug] first isn't something RTL requires — URLs stay LTR, and most sites keep the same segment order across locales as far as I know (only the static label and slug text change, e.g. /fa/وبلاگ/[slug]).

The Link response header is a separate code path. Nothing in your app feeds MDX content into pathnames — that object in routing.ts is static templates only.

Two ways to fix this:

  1. Compute pathnames dynamically: S…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sahandsn
Comment options

Answer selected by sahandsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working unconfirmed Needs triage.
3 participants
Converted from issue

This discussion was converted from issue #2334 on May 22, 2026 08:30.