InteractiveMechanics / Eastern-State-Website

Web site for Eastern State and Terror
0 stars 0 forks source link

[x] Look into adding redirects in Drupal #423

Closed amberreeves closed 7 years ago

amberreeves commented 7 years ago

This came up in the retrospective. Is it easy enough to add a place in Drupal where the client can enter redirects on their own?

mtedeschi commented 7 years ago

So, Nicole should be able to do this without issue from here: https://www.easternstate.org/admin/config/search/path/add

For instance, one of the last redirects to be added was: /prisons-today/quiz -to- https://www.easternstate.org/explore/exhibits/prisons-today

Should could just enter that in there to build the redirect.

amberreeves commented 7 years ago

i sent this to nicole.

amberreeves commented 7 years ago

nicole is getting an error message when trying to enter redirects in drupal. @mtedeschi can you look at this screenshot and let me know if there is something she should be doing differently? or if this is a bug you can fix?

screen shot 2017-06-15 at 12 26 27 pm
mtedeschi commented 7 years ago

I'm not sure what she's trying to do with that screenshot. Right now, she's trying to add a redirect for halloween on the historic site to a page to a historic page. She'll need to add halloween redirects on the halloween site. She also can't conflict redirects, which this example would do.

Can she send over an example of a redirect she'd like to add and I can advise on how to do it?

amberreeves commented 7 years ago

Gotcha. The example is this - they have this vanity URL easternstate.org/directions on an ad for Terror somewhere, and she wants to send people to the TBTW directions page. Are you saying that's not possible since the vanity URL doesn't have /halloween/ in it?

mtedeschi commented 7 years ago

Okay, I see. Yeah, so she won't be able to alias outside the scope of the halloween site. We'd need to add a redirect on the server for that case. Here's an example:

WORKS (to do in Drupal): easternstate.org/halloween/directions-parking into easternstate.org/halloween/directions

DOESN'T WORK (cross site, needs to be done in .htaccess): easternstate.org/halloween/directions-parking into easternstate.org/directions

amberreeves commented 7 years ago

Gotcha! Ok, I've passed this info on to Nicole. Can you add that one redirect on the server then?