Skip to content

Commit

Permalink
Redirect /about/index.* files for Bug 885848
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarrity committed Jun 25, 2013
1 parent 0caa8b4 commit 92e706c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/httpd/global.conf
Expand Up @@ -256,6 +256,12 @@ RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?about/history/$ /b/$1about/history/
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?about/bookmarks.html$ https://wiki.mozilla.org/Historical_Documents [L,R=301]
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?about/timeline.html$ https://wiki.mozilla.org/Timeline [L,R=301]

# bug 885848
RewriteRule ^/about/index.html$ /about/ [L,R=301]
RewriteRule ^/about/index.(.*)?.html$ /contribute/ [L,R=301]
RewriteCond $1 !en-US/
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)about(?:/(?:index.html)?)$ /contribute/ [L,R=301]

# bug 861243 and bug 869489
RewriteRule ^/about/manifesto\.html$ /about/manifesto/ [L,R=301]
RewriteRule ^/about/manifesto\.(.*)\.html$ /$1/about/manifesto/ [L,R=301]
Expand Down

0 comments on commit 92e706c

Please sign in to comment.