Skip to content

Commit

Permalink
Merge pull request #976 from sgarrity/bug-860532-gov-fix
Browse files Browse the repository at this point in the history
Fix redirects for governance pages (Bug 860532)
  • Loading branch information
craigcook committed Jun 20, 2013
2 parents 9d91854 + e1f3df2 commit 03e26e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bedrock/redirects/urls.py
Expand Up @@ -75,9 +75,4 @@ def tabzilla_css_redirect(r):

# Bug 867773 - Redirect the Persona "Developer FAQ" link to MDN
redirect(r'^persona/developer-faq/$', 'https://developer.mozilla.org/persona'),

#Bug 860532- migrate governance, roles, and organizations to bedrock
redirect(r'^about/governance.html$', '/about/governance/'),
redirect(r'^about/roles.html$', '/about/governance/roles/'),
redirect(r'^about/organizations.html', '/about/governance/organizations/')
)
6 changes: 6 additions & 0 deletions etc/httpd/global.conf
Expand Up @@ -281,6 +281,12 @@ RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/nightly/firstrun(.*)$ /b/$1
RewriteRule ^/en-US/newsletter/existing(.*)$ /b/en-US/newsletter/existing$1 [PT]
RewriteRule ^/en-US/newsletter/updated(.*)$ /b/en-US/newsletter/updated$1 [PT]

# bug 860532 - Reidrects for governance pages
RewriteRule ^/about/governance\.html$ /about/governance/ [L,R=301]
RewriteRule ^/about/roles\.html$ /about/governance/roles/ [L,R=301]
RewriteRule ^/about/organizations\.html$ /about/governance/organizations/ [L,R=301]
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?about/governance(.*)$ /b/$1about/governance$2 [PT]

# bug 724633 - Porting foundation pages
# Add redirects for the pdfs that were under /foundation/documents/
# that will now be served from static.mozilla.com/foundation/documents/
Expand Down

0 comments on commit 03e26e8

Please sign in to comment.