Need list of all redirects / rewrites currently on mozilla.com

RESOLVED FIXED

Status

--
major
RESOLVED FIXED
12 years ago
4 years ago

People

(Reporter: reed, Assigned: aravind)

Tracking

Details

When it becomes time to move the new mozilla.com site to production, we need to make sure that all the old redirects / rewrites do not interfere with the new site. Also, there may be some redirects / rewrites that we want to keep.

I'd like a list/copy of the current redirects/rewrites in place for mozilla.com so that I can figure out which ones need to go and which ones should stay for when the new site is pushed to live.
(Assignee)

Updated

12 years ago
Assignee: server-ops → aravind
(Assignee)

Comment 1

12 years ago
Here are the current rewrite rules on mozilla.com

    RewriteRule ^/(\w{2,3}(-\w{2,3}(-mac)?)?)/firefox/2.0rc[123]/releasenotes/ /$1/firefox/2.0/releasenotes/ [R]
    RewriteRule ^/(\w{2,3}(-\w{2,3}(-mac)?)?)/products/firefox/$ /products/firefox/ [R]
    RewriteRule ^/(\w{2,3}(-\w{2,3}(-mac)?)?)/blocklist/$ /blocklist/ [R]
    RewriteRule ^/(\w{2,3}(-\w{2,3}(-mac)?)?)/firefox/livebookmarks/$ /firefox/livebookmarks.html [R]
    RewriteCond %{REQUEST_URI} !^/[eE][Nn]-[uU][sS]/.*
    RewriteCond /data/www/www.mozilla.com/%{REQUEST_FILENAME} !-f 
    RewriteCond /data/www/www.mozilla.com/%{REQUEST_FILENAME} !-d
    RewriteRule ^/(\w{2,3}(-\w{2,3}(-mac)?)?)/firefox/(.*)$ /en-US/firefox/$4 [R]
    RewriteCond %{REQUEST_URI}  ^/[eE][Nn]-[uU][sS]/.*
    RewriteCond /data/www/www.mozilla.com/%{REQUEST_FILENAME} !-f 
    RewriteCond /data/www/www.mozilla.com/%{REQUEST_FILENAME} !-d
    RewriteRule ^/(\w{2,3}(-\w{2,3}(-mac)?)?)/firefox/(.*)$ /firefox/$4 [R] 
    Redirect permanent /products/firefox http://www.mozilla.com/firefox
    Redirect permanent /products/thunderbird http://www.mozilla.com/thunderbird
    Redirect permanent /firefox/central.html http://www.mozilla.com/firefox/central/
    Redirect /legal/privacy/firefox-en.html http://www.mozilla.com/legal/eula/firefox-en.txt 
    Redirect /firefox/phishing-protection/ http://www.mozilla.org/projects/bonecho/anti-phishing/
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.