Closed Bug 608061 Opened 14 years ago Closed 14 years ago

no help-topic redirect is wrong

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vish_moz, Assigned: jsocol)

References

()

Details

Attachments

(1 file, 1 obsolete file)

no help-topic redirect is wrong:

http://master.support.mozilla.com/1/firefox/4.0b2/Linux/en-US/
  redirects to 
http://master.support.mozilla.com/en-US/http:/master.support.mozilla.com/en-US/kb/Get help with Firefox 4 beta/firefox/4.0b2/Linux/en-US?style_mode=inproduct&as=u

Expected:http://master.support.mozilla.com/en-US/kb/Get help with Firefox 4 beta/firefox/4.0b2/Linux/en-US?style_mode=inproduct&as=u

Actual: double http://master.support.mozilla.com/en-US
Michael, I've fixed the issue with the redirect, but the article "Get help with Firefox 4 beta" isn't there. Is this something missing from the migration, or should this go to a new target?
Attached patch updated htaccess (obsolete) — Splinter Review
Fixes all the "home page" redirects, especially the beta redirect. Also fixes the issue in bug 610354, and fixes password reset, as well.
Attachment #489172 - Flags: review?(paulc)
Cheng is "Get help with Firefox 4 beta" the special fx 4 landing page? What did we decide to do with that?
For the beta, I think we're going to have to keep with a special page since the timing is so off from our original plan.  We probably should re-write it to be nicer, though.
Please make sure Paul knows to include that document in the migration on bug 586487.

Vishal: Note that the beta redirect in comment 0 will still be a 404 until we migrate that document. I've fixed the double-domain issue, though.
Comment on attachment 489172 [details] [diff] [review]
updated htaccess

>Index: webroot/htaccess.dist
>===================================================================
>--- webroot/htaccess.dist	(revision 76741)
>+++ webroot/htaccess.dist	(working copy)
>@@ -49,10 +52,10 @@
> RewriteRule ^1/([\-a-zA-Z]+)/([0-9]+\.[0-9]+[^/]*)/([\-_a-zA-Z0-9]+)/sr/([\-_a-zA-Z]+)$   /1/$1/$2/$3/sr-CYRL/$4/ [L,R]
> 
> # Redirect no help topic to main in-product page
>-RewriteRule ^1/Firefox/4\.0b\d[^/]*/([\-_a-zA-Z0-9]+)/([\-a-zA-Z]+)\/$ "/$2/kb/Get help with Firefox 4 beta?style_mode=inproduct&as=u" [R,NC]
>+RewriteRule ^1/Firefox/4\.0b\d[^/]*/([\-_a-zA-Z0-9]+)/([\-a-zA-Z]+)\/$ "/$2/kb/Get help with Firefox 4 beta?style_mode=inproduct&as=u" [L,R,NC]
> RewriteRule ^1/([\-a-zA-Z]+)/([0-9]+\.[0-9]+[^/]*)/([\-_a-zA-Z0-9]+)/([\-a-zA-Z]+)$   /1/$1/$2/$3/$4/ [L,R]
> RewriteRule ^1/([\-a-zA-Z]+)/([0-9]+\.[0-9]+[^/]*)/iPhone/([\-a-zA-Z]+)/?$  "/$3/kb/What is Firefox Home" [L,R,NE]
>-RewriteRule ^1/([\-a-zA-Z]+)/([0-9]+\.[0-9]+[^/]*)/([\-_a-zA-Z0-9]+)/([\-a-zA-Z]+)\/$  "/$4/kb/Firefox Help?style_mode=inproduct" [L,R,NE]
>+RewriteRule ^1/([\-a-zA-Z]+)/([0-9]+\.[0-9]+[^/]*)/([\-_a-zA-Z0-9]+)/([\-a-zA-Z]+)\/$  "/$4/home/" [L,R,NE]
Seems like for all the other rewrites you kept the style_mode parameter except for this one.


The rest looks good I think.
Attached patch another patchSplinter Review
Attachment #489172 - Attachment is obsolete: true
Attachment #489240 - Flags: review?(paulc)
Attachment #489172 - Flags: review?(paulc)
Comment on attachment 489240 [details] [diff] [review]
another patch

WFM.
Attachment #489240 - Flags: review?(paulc) → review+
r77163.

May take a while to show up.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified, FIXED.
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: