-
Beta Was this translation helpful? Give feedback.
Answered by
kiliman
Mar 7, 2024
Replies: 1 comment 6 replies
-
Remix doesn't support URL rewriting because React Router expects the URL in the browser to match the route configuration. However, you can use the Optional Segments feature to allow us to map the hostname to the username. Here's an example I created. https://github.com/kiliman/remix-custom-domain |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
jansedlon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remix doesn't support URL rewriting because React Router expects the URL in the browser to match the route configuration. However, you can use the Optional Segments feature to allow us to map the hostname to the username.
Here's an example I created. https://github.com/kiliman/remix-custom-domain