Skip to content

Commit

Permalink
Merge pull request #3246 from alexgibson/bug-1186373-redirect-hello-n…
Browse files Browse the repository at this point in the history
…ps-survey-links

[fix bug 1186373] Add a redirect for Hello's NPS survey links
  • Loading branch information
jgmize committed Aug 27, 2015
2 parents 398a354 + 07dec8a commit 67f1793
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bedrock/redirects/urls.py
Expand Up @@ -69,6 +69,11 @@ def tabzilla_css_redirect(r):
'styleguide.communications.copy-rules'),
redirect(r'^firefox/brand/downloads/$', 'styleguide.home'),

# Bug 1186373
redirect(r'^firefox/hello/npssurvey/$',
'https://www.surveygizmo.com/s3/2227372/Firefox-Hello-Product-Survey',
permanent=False),

# Bug 1071318
redirect(r'^firefox/mobile/$', 'firefox.android.index'),

Expand Down
3 changes: 3 additions & 0 deletions etc/httpd/global.conf
Expand Up @@ -231,6 +231,9 @@ RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/sync(/?)$ /b/$1firefox/sync$2 [PT]
# bug 1101984
RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/hello(/?)$ /b/$1firefox/hello$2 [PT]

# bug 1186373
RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/hello/npssurvey(/?)$ /b/$1firefox/hello/npssurvey$2 [PT]

# bug 1071074
RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/channel(/?)$ /b/$1firefox/channel$2 [PT]

Expand Down

0 comments on commit 67f1793

Please sign in to comment.