Closed Bug 1331332 Opened 8 years ago Closed 8 years ago

Hardcoded In Product Redirects

Categories

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

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: giorgos, Unassigned, NeedInfo)

References

Details

For the Lithium migration we will be migrating current list of In Product Redirects (IPR) via Apache htaccess redirects. In bug 1325046 there's discussion about the possibility of a special Lithium customization to mimic the "redirects" Kitsune app behavior which serves IPR today.
See Also: → 1325046
Blocks: 1324400
List of IPR to be hardcoded. - * must match anything - First match should be followed - Implement in given order Redirects: https://support.mozilla.org/1/firefox-home/*/iPhone/*/log-in -> kb/Cannot log in to Firefox Home App https://support.mozilla.org/1/*/*/iPhone/*/install -> kb/How to set up Firefox Home https://support.mozilla.org/1/mobile/*/*/*/firefox-help -> products/mobile/popular-articles-android https://support.mozilla.org/1/mobile/*/*/*/how-can-i-help-submitting-performance-data -> kb/how-can-i-help-submitting-mobile-performance-data https://support.mozilla.org/1/touch/*/*/*/firefox-help -> products/firefox-windows-8-touch https://support.mozilla.org/1/mobile/*/*/*/launcher -> kb/find-and-organize-apps-firefox-launcher https://support.mozilla.org/1/firefox/*/*/*/failed-update -> kb/firefox-failed-update-how-update-manually https://support.mozilla.org/1/firefox/*/*/*/tracking-protection-pbm -> kb/tracking-protection-pbm https://support.mozilla.org/1/firefox-os/*/*/*/gmail-password-error -> kb/fix-gmail-password-errors-firefox-os https://support.mozilla.org/1/firefox/*/*/*/sslv3-error-messages -> kb/how-resolve-sslv3-error-messages-firefox https://support.mozilla.org/1/firefox/*/*/*/prefs-search -> kb/change-your-default-search-settings-firefox https://support.mozilla.org/1/Firefox/*/*/*/sync-upgrade -> kb/firefox-sync-upgrade-frequently-asked-questions https://support.mozilla.org/1/firefox/*/*/*/drm-content -> kb/enable-drm https://support.mozilla.org/1/firefox/*/*/*/find-and-install-add-ons -> kb/find-and-install-add-ons-add-features-to-firefox https://support.mozilla.org/1/firefox/*/*/*/search-hijacking -> kb/what-search-hijacking https://support.mozilla.org/1/firefox/*/*/*/pocket -> kb/access-mozilla-services-firefox-accounts https://support.mozilla.org/1/firefox/*/*/*/unsigned-addons -> kb/add-on-signing-in-firefox https://support.mozilla.org/1/mobile/*/*/*/unsigned-addons -> kb/unsigned-addons https://support.mozilla.org/1/firefox/*/*/*/shumway -> /kb/shumway-watch-videos-without-flash https://support.mozilla.org/1/firefox/*/*/*/heartbeat -> kb/rate-your-firefox-experience-heartbeat https://support.mozilla.org/1/firefox/*/*/*/win10-default-browser -> kb/make-firefox-your-default-browser https://support.mozilla.org/1/firefox/*/*/*/tracking-protection -> kb/tracking-protection-firefox https://support.mozilla.org/1/firefox/*/*/*/hello-tiles -> tiles-firefox-hello https://support.mozilla.org/1/mobile/*/*/*/kids -> kb/firefox-android-kids https://support.mozilla.org/1/firefox/*/*/*/suggestions -> kb/search-suggestions-firefox https://support.mozilla.org/1/mobile/*/*/*/faq -> products/mobile/popular-articles-android https://support.mozilla.org/1/mobile/*/*/*/private-browsing-ios -> kb/private-browsing-firefox-ios https://support.mozilla.org/1/firefox-os/*/*/*/tracking-protection -> kb/tracking-protection https://support.mozilla.org/1/firefox/*/*/*/insecure-password -> kb/insecure-password-warning-firefox https://support.mozilla.org/1/Firefox/*/*/*/push -> kb/push-notifications-firefox https://support.mozilla.org/1/Firefox/*/*/*/tab-groups-removal -> kb/tab-groups-removal https://support.mozilla.org/1/mobile/*/*/*/honeycomb -> kb/unsupported-version https://support.mozilla.org/1/Firefox/*/*/*/cobrowsing -> kb/browse-web-pages-together-firefox-hello https://support.mozilla.org/1/Firefox/*/*/*/fxadevices -> kb/fxa-managing-devices https://support.mozilla.org/1/mobile/*/*/*/fxadevices -> kb/fxa-managing-devices https://support.mozilla.org/1/firefox/*/*/*/accessibility-ppt -> kb/accessibility-and-ppt https://support.mozilla.org/1/firefox-os/*/*/*/control-center -> kb/mixed-content-blocking-firefox-os https://support.mozilla.org/1/mobile/*/*/*/adjust -> kb/adjust-firefox-mobile-devices https://support.mozilla.org/1/mobile/*/*/*/new-ios -> /kb/whats-new-firefox-ios-20?mobile=1&minimal=1 https://support.mozilla.org/1/mobile/*/*/*/gingerbread -> kb/unsupported-version https://support.mozilla.org/1/mobile/*/*/*/new-android -> kb/whats-new-firefox-android?mobile=1&minimal=1 https://support.mozilla.org/1/mobile/*/*/*/unsupported-version -> kb/unsupported-version https://support.mozilla.org/1/firefox/*/*/*/runtime -> kb/runtime-disabled https://support.mozilla.org/1/mobile/*/*/*/reading-list -> kb/save-web-pages-your-reading-list-firefox-android https://support.mozilla.org/1/mobile/*/*/*/new-ios-30 -> kb/whats-new-firefox-ios-30?mobile=1&minimal=1 https://support.mozilla.org/1/mobile/*/*/*/notifications -> kb/control-notifications-firefox-android https://support.mozilla.org/1/mobile/*/*/*/new-ios-40 -> kb/whats-new-firefox-ios-version-40?mobile=1&minimal=1 https://support.mozilla.org/1/firefox/*/*/*/fix-video-audio-problems-firefox-windows -> kb/fix-video-audio-problems-firefox-windows https://support.mozilla.org/1/firefox/*/*/*/osx -> kb/firefox-osx https://support.mozilla.org/1/mobile/*/*/*/sync-status-ios -> kb/bookmark-sync-error-message-firefox-ios https://support.mozilla.org/1/mobile/*/*/*/new-ios-50 -> kb/whats-new-firefox-ios-version-50?mobile=1&minimal=1 https://support.mozilla.org/1/firefox/*/*/*/time-errors -> kb/troubleshoot-time-errors-secure-websites https://support.mozilla.org/1/firefox/*/*/*/security-error -> kb/troubleshoot-SEC_ERROR_UNKNOWN_ISSUER https://support.mozilla.org/1/firefox/*/*/*/hello-status -> kb/hello-status https://support.mozilla.org/1/firefox/*/*/*/containers -> kb/containers-experiment https://support.mozilla.org/1/mobile/*/*/*/mobile-help -> products/mobile https://support.mozilla.org/1/firefox/*/*/*/non-sse2 -> kb/your-hardware-no-longer-supported https://support.mozilla.org/1/firefox/*/*/*/accounts-blocked -> kb/accounts-blocked https://support.mozilla.org/1/firefox/*/*/*/screenshare-safety -> kb/screenshare-safety https://support.mozilla.org/1/mobile/*/*/*/usage-data -> kb/send-anonymous-usage-data-firefox-mobile-devices https://support.mozilla.org/1/firefox/*/*/*/insecure-form-field-warning -> kb/insecure-password-warning-firefox https://support.mozilla.org/1/mobile/*/*/*/new-ios-6 -> kb/whats-new-ios-6 https://support.mozilla.org/1/firefox/*/*/*/storage-permissions -> kb/permission-store-data https://support.mozilla.org/1/firefox/*/*/*/npapi -> kb/npapi-plugins https://support.mozilla.org/1/*/*/*/*/pageinfo_general -> kb/Page Info window#General https://support.mozilla.org/1/*/*/*/*/pageinfo_media -> kb/Page Info window#Media https://support.mozilla.org/1/*/*/*/*/pageinfo_feed -> kb/Page Info window#Feeds https://support.mozilla.org/1/*/*/*/*/pageinfo_permissions -> kb/Page Info window#Permissions https://support.mozilla.org/1/*/*/*/*/pageinfo_security -> kb/Page Info window#Security https://support.mozilla.org/1/*/*/*/*/prefs-weave -> kb/How to sync Firefox settings between computers https://support.mozilla.org/1/*/*/*/*/plugin-crashed -> kb/Plugin crash reports https://support.mozilla.org/1/*/*/*/*/firefox-help -> products/firefox https://support.mozilla.org/1/*/*/*/*/firefox-f1 -> products/firefox https://support.mozilla.org/1/*/*/*/*/firefox-osxkey -> products/firefox https://support.mozilla.org/1/*/*/*/*/keyboard-shortcuts -> kb/Keyboard shortcuts https://support.mozilla.org/1/*/*/*/*/prefs-main -> kb/Options window - General panel https://support.mozilla.org/1/*/*/*/*/prefs-clear-private-data -> kb/Clear Recent History https://support.mozilla.org/1/*/*/*/*/prefs-fonts-and-colors -> kb/Options window - Content panel#fonts_and_colors https://support.mozilla.org/1/*/*/*/*/prefs-privacy -> kb/Options window - Privacy panel https://support.mozilla.org/1/*/*/*/*/prefs-applications -> kb/Options window - Applications panel https://support.mozilla.org/1/*/*/*/*/prefs-connection-settings -> kb/Options window - Advanced panel#connection_settings https://support.mozilla.org/1/*/*/*/*/prefs-tabs -> kb/Options window - Tabs panel https://support.mozilla.org/1/*/*/*/*/prefs-advanced-javascript -> kb/Options window - Content panel#advanced_javascript https://support.mozilla.org/1/*/*/*/*/prefs-languages -> kb/Options window - Content panel#languages https://support.mozilla.org/1/*/*/*/*/prefs-content -> kb/Options window - Content panel https://support.mozilla.org/1/*/*/*/*/prefs-security -> kb/Options window - Security panel https://support.mozilla.org/1/*/*/*/*/prefs-advanced-general -> kb/Options window - Advanced panel https://support.mozilla.org/1/*/*/*/*/prefs-advanced-network -> kb/Options window - Advanced panel#advanced_network https://support.mozilla.org/1/*/*/*/*/prefs-advanced-update -> kb/Options window - Advanced panel#advanced_update https://support.mozilla.org/1/*/*/*/*/prefs-advanced-encryption -> kb/Options window - Advanced panel#advanced_encryption https://support.mozilla.org/1/*/*/*/*/ieusers -> products/firefox https://support.mozilla.org/1/*/*/*/*/places-locked -> kb/The bookmarks and history system will not be functional https://support.mozilla.org/1/*/*/*/*/private-browsing -> kb/Private Browsing https://support.mozilla.org/1/*/*/*/*/plugin-crashed-notificationbar -> kb/Plugin crash reports https://support.mozilla.org/1/*/*/*/*/how-can-i-help-submitting-performance-data -> kb/how-can-i-help-submitting-performance-data https://support.mozilla.org/1/*/*/*/*/w2k -> kb/firefox-no-longer-works-windows-2000 https://support.mozilla.org/1/*/*/*/*/xp -> kb/firefox-no-longer-works-some-versions-windows-xp https://support.mozilla.org/1/*/*/*/*/mixed-content -> kb/how-does-content-isnt-secure-affect-my-safety https://support.mozilla.org/1/*/*/*/*/prefs-advanced-data-choices -> kb/advanced-settings-browsing-network-updates-encryption https://support.mozilla.org/1/*/*/*/*/social-api -> kb/firefox-services-add-social-features-your-browser https://support.mozilla.org/1/*/*/*/*/secure-connection -> kb/how-do-i-tell-if-my-connection-is-secure https://support.mozilla.org/1/*/*/*/*/content-settings -> kb/settings-fonts-languages-pop-ups-javascript https://support.mozilla.org/1/*/*/*/*/phishing-malware -> kb/how-does-phishing-and-malware-protection-work https://support.mozilla.org/1/*/*/*/*/clicktoplay -> kb/why-do-i-have-click-activate-plugins https://support.mozilla.org/1/*/*/*/*/mobile-flash-unsupported -> kb/why-cant-firefox-mobile-play-flash-on-my-device https://support.mozilla.org/1/*/*/*/*/customize -> kb/customize-firefox-controls-buttons-and-toolbars https://support.mozilla.org/1/*/*/*/*/old-sync -> kb/how-to-update-to-the-new-firefox-sync https://support.mozilla.org/1/*/*/*/*/sync-master-password -> kb/why-cant-i-sync-my-passwords https://support.mozilla.org/1/*/*/*/*/troubleshooting -> kb/troubleshoot-and-diagnose-firefox-problems https://support.mozilla.org/1/*/*/iPhone/*/ -> kb/What is Firefox Home https://support.mozilla.org/1/mobile/*/*/*/ -> products/mobile/popular-articles-android https://support.mozilla.org/1/firefox/*/*/*/ -> products/firefox https://support.mozilla.org/1/firefox-os/*/*/*/ -> products/firefox-os https://support.mozilla.org/1/touch/*/*/*/ -> products/firefox-windows-8-touch https://support.mozilla.org/1/*/*/*/*/ -> /
The redirects listed in the previous comment work as expected except from the following: The following redirects are 404s (or redirects to /) on both Kitsune and Lithium. Since they are already implemented they can be left there for the migration and get cleaned-up with the rest when bug 1325046 gets resolved. 1/*/*/iPhone/*/install -> kb/How to set up Firefox Home 1/mobile/*/*/*/launcher -> kb/find-and-organize-apps-firefox-launcher 1/firefox/*/*/*/shumway -> /kb/shumway-watch-videos-without-flash 1/firefox/*/*/*/hello-tiles -> tiles-firefox-hello 1/mobile/*/*/*/kids -> kb/firefox-android-kids 1/firefox-os/*/*/*/tracking-protection -> kb/tracking-protection 1/firefox-os/*/*/*/control-center -> kb/mixed-content-blocking-firefox-os 1/firefox/*/*/*/runtime -> kb/runtime-disabled 1/firefox/*/*/*/storage-permissions -> kb/permission-store-data The following redirects redirect to '/' on Lithium while they should redirect to a special page which lists the popular articles under the android section: 1/mobile/*/*/*/firefox-help -> products/mobile/popular-articles-android 1/mobile/*/*/*/faq -> products/mobile/popular-articles-android 1/mobile/*/*/*/ -> products/mobile/popular-articles-android The following redirect return a 404 on Lithium and not on Kitsune but they are implemented. The reason of 404 is that Lithium test site does not have the latest Kitsune database. These will be checked after migration and get verified. 1/firefox/*/*/*/accounts-blocked -> kb/accounts-blocked 1/firefox/*/*/*/screenshare-safety -> kb/screenshare-safety 1/mobile/*/*/*/new-ios-6 -> kb/whats-new-ios-6 1/firefox/*/*/*/npapi -> kb/npapi-plugins
(In reply to Giorgos Logiotatidis [:giorgos] from comment #2) > The following redirects redirect to '/' on Lithium while they should > redirect to a special page which lists the popular articles under the > android section: > > 1/mobile/*/*/*/firefox-help -> products/mobile/popular-articles-android > 1/mobile/*/*/*/faq -> products/mobile/popular-articles-android > 1/mobile/*/*/*/ -> products/mobile/popular-articles-android Scott is there a special page in Lithium that lists popular articles of the android section? If yes can we change those redirects to link there?
Flags: needinfo?(scott.riley)
Note that all the redirects redirect to the english article atm, due to Lithium not supporting Accept-Language redirects or having implemented l10n relations between kb articles.
(In reply to Giorgos Logiotatidis [:giorgos] from comment #2) > The following redirect return a 404 on Lithium and not on Kitsune but they > are implemented. The reason of 404 is that Lithium test site does not have > the latest Kitsune database. These will be checked after migration and get > verified. > > 1/firefox/*/*/*/accounts-blocked -> kb/accounts-blocked > 1/firefox/*/*/*/screenshare-safety -> kb/screenshare-safety > 1/mobile/*/*/*/new-ios-6 -> kb/whats-new-ios-6 > 1/firefox/*/*/*/npapi -> kb/npapi-plugins These are verified working.
(In reply to Giorgos Logiotatidis [:giorgos] from comment #3) > (In reply to Giorgos Logiotatidis [:giorgos] from comment #2) > > The following redirects redirect to '/' on Lithium while they should > > redirect to a special page which lists the popular articles under the > > android section: > > > > 1/mobile/*/*/*/firefox-help -> products/mobile/popular-articles-android > > 1/mobile/*/*/*/faq -> products/mobile/popular-articles-android > > 1/mobile/*/*/*/ -> products/mobile/popular-articles-android > > > Scott is there a special page in Lithium that lists popular articles of the > android section? If yes can we change those redirects to link there? Madalina this is pending. Needinfo-ing you so you can prioritize at will.
Flags: needinfo?(mana)
Flags: needinfo?(mana)
We have pages like this that are attached to leaderboards (both users and content) like https://hwsfp35778.lithium.com/t5/kudos/leaderboardpage/category-id/firefox/timerange/one_month/tab/posts There are all sorts of configurations of these in the Admin (exclusionary roles, time frame, content type). At the moment, mozilla is not using any of these components so there isn't a link to them from the support site. It may be possible for us to build these redirects (need one day to eval and build). Our question is should we attempt this given the above and the fact that Mozilla may add these components eventually. If there are references to Support articles from outside the Support site, it might be a better option to use the API to surface them versus a link to a subset.
Flags: needinfo?(scott.riley) → needinfo?(mana)
(In reply to Giorgos Logiotatidis [:giorgos] from comment #5) > (In reply to Giorgos Logiotatidis [:giorgos] from comment #2) > > The following redirect return a 404 on Lithium and not on Kitsune but they > > are implemented. The reason of 404 is that Lithium test site does not have > > the latest Kitsune database. These will be checked after migration and get > > verified. > > > > 1/firefox/*/*/*/accounts-blocked -> kb/accounts-blocked > > 1/firefox/*/*/*/screenshare-safety -> kb/screenshare-safety > > 1/mobile/*/*/*/new-ios-6 -> kb/whats-new-ios-6 > > 1/firefox/*/*/*/npapi -> kb/npapi-plugins > > These are verified working. These are redirect to SUMO homepage now, pls help to check what happened, thanks!
Severity: normal → critical
Flags: needinfo?(mana)
(In reply to Yanfang Liu from comment #8) > (In reply to Giorgos Logiotatidis [:giorgos] from comment #5) > > (In reply to Giorgos Logiotatidis [:giorgos] from comment #2) > > > The following redirect return a 404 on Lithium and not on Kitsune but they > > > are implemented. The reason of 404 is that Lithium test site does not have > > > the latest Kitsune database. These will be checked after migration and get > > > verified. > > > > > > 1/firefox/*/*/*/accounts-blocked -> kb/accounts-blocked > > > 1/firefox/*/*/*/screenshare-safety -> kb/screenshare-safety > > > 1/mobile/*/*/*/new-ios-6 -> kb/whats-new-ios-6 > > > 1/firefox/*/*/*/npapi -> kb/npapi-plugins > > > > These are verified working. > > These are redirect to SUMO homepage now, pls help to check what happened, > thanks! Unable to replicate this. All the above redirects are working. Regarding the Special Page, we need to know what this page should be given the options listed.
Scott, most of these seem to redirect to a REDIRECT header page instead of the article itself. E.g.: https://support.mozilla.org/t5/Troubleshooting/The-bookmarks-and-history-system-will-not-be-functional/ta-p/15993 Is that the expected behaviour? It looks like a very bad user experience.
Flags: needinfo?(scott.riley)
(In reply to madalina from comment #10) > Scott, most of these seem to redirect to a REDIRECT header page instead of > the article itself. E.g.: > https://support.mozilla.org/t5/Troubleshooting/The-bookmarks-and-history- > system-will-not-be-functional/ta-p/15993 > > Is that the expected behaviour? It looks like a very bad user experience. Yes for this bug this is the expected behavior. I agree it's a very bad user experience and we need to fix bug 1336374
Component: Lithium Migration → Knowledge Base Content
Product: support.mozilla.org → support.mozilla.org - Lithium
Component: Knowledge Base Content → General
Lithium to deploy short term fix to prod today. QA to manually test once this is done.
Depends on: 1337562
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.