Closed
Bug 772429
Opened 13 years ago
Closed 13 years ago
Setup /b redirects for new products/projects and whatsnew pages
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sgarrity, Assigned: cturra)
References
Details
Two new bedrock pages:
http://www-dev.allizom.org/b/en-US/products
http://www-dev.allizom.org/b/en-US/projects/mozilla-based
Both need the redirect to hide the /b as with all bedrock pages.
Assignee | ||
Updated•13 years ago
|
Assignee: server-ops-webops → cturra
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
rewrite applied to www-dev as requested.
RewriteRule ^/en-US/projects/mozilla-based(/?)$ /b/en-US/projects/mozilla-based$1 [PT]
RewriteRule ^/en-US/products(/?)$ /b/en-US/products$1 [PT]
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?products(.*)$ /en-US/products$2 [L,R=302]
please give them a test and let me know if anything is not redirecting as expected. once these are ready for stage/prod, go ahead and open new bugs to track them.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 3•13 years ago
|
||
Oops, mistake.
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?products(.*)$ /en-US/products$2 [L,R=302]
should actually be
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?products(/?)$ /en-US/products$2 [L,R=302]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•13 years ago
|
||
:rik good catch! i have updated the rewriterule in www-dev with the correct rule :)
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
qa-verified
http://www-dev.allizom.org/b/en-US/products/ with and without the trailing slash
http://www-dev.allizom.org/b/en-US/projects/mozilla-based/ with and without the trailing slash
Comment 6•13 years ago
|
||
Another rule to push, reopening.
The crazy part is to match any Firefox version.
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/whatsnew(/?)$ /b/$1firefox$2/whatsnew$3 [PT]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Setup /b redirects for new products/projects pages. → Setup /b redirects for new products/projects and whatsnew pages
Assignee | ||
Comment 7•13 years ago
|
||
:rik this rule has been added to www-dev and pushed.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•