Skip to content
Discussion options

You must be logged in to vote

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

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jansedlon
Comment options

@kiliman
Comment options

@jansedlon
Comment options

@Sh4yy
Comment options

@kiliman
Comment options

Answer selected by jansedlon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants