Skip to content

Commit

Permalink
Updating membership redirects. (#199)
Browse files Browse the repository at this point in the history
* Updating membership redirects.

* Fixed redirect

* Update nginx/nginx.conf

Co-authored-by: Guthrie McAfee Armstrong <[email protected]>

---------

Co-authored-by: Guthrie McAfee Armstrong <[email protected]>
  • Loading branch information
skacula and gmarmstrong authored Nov 22, 2023
1 parent 5d9bcd4 commit b1ea1ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ http {
location /tuesday { return 302 https://pledge.wnyc.org/support/radiolab; }

# Podcast Membership
location ~ ^/donate/? { return 302 https://pledge.wnyc.org/support/radiolab?utm_medium=audio&utm_source=podcast-spot&utm_campaign=rl-cye-addgift; }
location ~ ^/donate/? { return 302 https://pledge.wnyc.org/support/radiolab?utm_medium=audio&utm_source=redirect&utm_campaign=radiolab-dot-org-slash-donate; }
location ~ ^/(insider|20|twenty)/?$ { return 301 $not_found; }
location ~ ^/(join|membership|members|member)/?$ { return 301 $members; }
location ~ ^/join/? { return 302 https://members.radiolab.org?utm_source=audio&utm_medium=redirect&utm_campaign=radiolab-dot-org-slash-join; }
location ~ ^/(membership|members|member)/?$ { return 302 $members; }
location ~ ^/(lab|thelab)/?$ { return 301 $app_url/the-lab?$query_string; }
location ~ ^/vipers?/?$ { return 301 $members; }
location ~ ^/(butterfly|butterflies)/?$ { return 301 $members; }
Expand Down

0 comments on commit b1ea1ad

Please sign in to comment.