Skip to content

Redirect /docs to the right page#312

Merged
petehunt merged 1 commit into
facebook:masterfrom
zpao:docs-redirect
Sep 3, 2013
Merged

Redirect /docs to the right page#312
petehunt merged 1 commit into
facebook:masterfrom
zpao:docs-redirect

Conversation

@zpao
Copy link
Copy Markdown
Member

@zpao zpao commented Sep 3, 2013

I've hit this a few times where I want to get to docs so I take whatever
my urlbar gives me and strip out the actual page so I can get to the
root, however that's a 404.

This introduces a super easy way to redirect, which could be handy in
the future as docs get rewritten.

I would much rather do this with a real htaccess file or even just
handle 404s gracefully, but that's not currently an option with GitHub
pages (since we generate our own and don't use a custom domain).

I've hit this a few times where I want to get to docs so I take whatever
my urlbar gives me and strip out the actual page so I can get to the
root, however that's a 404.

This introduces a super easy way to redirect, which could be handy in
the future as docs get rewritten.

I would much rather do this with a real htaccess file or even just
handle 404s gracefully, but that's not currently an option with GitHub
pages (since we generate our own and don't use a custom domain).
petehunt added a commit that referenced this pull request Sep 3, 2013
Redirect /docs to the right page
@petehunt petehunt merged commit b4ff29a into facebook:master Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants