Try Next.js's Redirect & Rewrite feature.
After digging Next.js documentation, looks they provides us path-parameter in context.query
field. this workaround aren't needed.
# Install dependencies
npm i
# Start dev server
npm run dev
# Open page
open http://localhost:8000/tokyo/hachiouji
open http://localhost:8000/articles/some-awesome-article-about-react