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

Ability to setup redirects #61

Closed
scottgonzalez opened this issue Sep 2, 2014 · 8 comments
Closed

Ability to setup redirects #61

scottgonzalez opened this issue Sep 2, 2014 · 8 comments
Assignees

Comments

@scottgonzalez
Copy link
Member

Either as a per-post config in the post metadata or as a per-site config in the root of the repo.

@jzaefferer
Copy link
Member

Per-site config sounds good to me. The current format works well enough: https://github.com/jquery/infrastructure/blob/67da0243a68896f6921e058f449b95ac222a0ae5/modules/jquery/manifests/wp/qunitjs.pp#L21-L26 - if this becomes a feature here, it can be just a list of pairs containing "[from] [to]". Or JSON or XML, doesn't really matter. But one location is definitely better then per-post.

@gnarf
Copy link
Member

gnarf commented Sep 2, 2014

👍 we definitely need something like this.

@arthurvr
Copy link
Member

arthurvr commented Jun 6, 2015

I'm 👍 on a per-site config.

If we want to remove a page from a specific site now and setup redirects, what's the best way to handle that?

@gnarf
Copy link
Member

gnarf commented Jun 6, 2015

'Right now' we need to add am nginx redirect rule in our puppet config. I
can show you the way. Or just request @jquery/infrastructure to set them
up when you need them.
On Jun 6, 2015 09:35, "Arthur Verschaeve" notifications@github.com wrote:

I'm [image: 👍] on a per-site config.

If we want to remove a page from a specific site now and setup redirects,
what's the best way to handle that?


Reply to this email directly or view it on GitHub
#61 (comment)
.

@gnarf
Copy link
Member

gnarf commented Jun 17, 2015

Can anyone own this / get it done? I'd really like to not have to add redirects for everything to our puppet/nginx configs.

@gnarf
Copy link
Member

gnarf commented Jun 17, 2015

I'm hoping that this would populate a list of redirects / alternates in the wordpress databases/plugins somewhere. Whatever format works best.

@gnarf
Copy link
Member

gnarf commented Jul 18, 2015

@gnarf
Copy link
Member

gnarf commented Jul 21, 2015

v2.3.0 of grunt-jquery-content adds the redirect.json via #69

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

No branches or pull requests

4 participants