Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change a url like profile?id=nkzawa to a pretty url /nkzawa #144

Closed
rickypaun opened this issue Oct 28, 2016 · 4 comments
Closed

Comments

@rickypaun
Copy link

Probably It's a beginner question. But I would use a base page with parameters but set a pretty url.

@dstreet
Copy link
Contributor

dstreet commented Oct 28, 2016

I believe what you are looking for is currently being explored in #59 and #91

@TooTallNate
Copy link
Member

Back in the PHP days you'd use nginx and rewrite, but as @dstreet mentioned it looks like there's built-in alternatives being considered.

@nodegin
Copy link
Contributor

nodegin commented Oct 29, 2016

Take a look at PR #147

@rauchg
Copy link
Member

rauchg commented Oct 29, 2016

Like @TooTallNate mentioned, a front-proxy would already solve your problem. For example, nginx+lua could look up /:username and re-write it to /user?id=. That said, we're already working on exposing the underlying request/response server primitives on #25

@rauchg rauchg closed this as completed Oct 29, 2016
@lock lock bot locked as resolved and limited conversation to collaborators May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants