Change the multilingual solution context root
The default context root for the multilingual solution application is /wps. With v8.5 CF3, we can change this to match the WebSphere Portal context root to better suit the requirements of the organization.
- Verify the WebSphere Portal context root is modified as described in Change the portal URI after an installation.
- Verify the WasPassword and PortalAdminPwd passwords are set in the wkplc.properties file.
- Run the following registration command from the WP_PROFILE/ConfigEngine:
- Windows
- ConfigEngine.bat mls-modify-servlet-path
- AIX HP-UX Linux Solaris
- ./ConfigEngine.sh mls-modify-servlet-path
- IBM i
- ConfigEngine.sh mls-modify-servlet-path
- Restart WebSphere Portal.
- Repeat these steps on every server and cluster node.
- If the Edit-Time Navigation/Creation extension is being used, for each authoring template that uses the extension:
- Edit the ML Translations text element properties and update the custom JSP field with dynamic context path tokens:
- For the Auto load version:
- readMode=[wcm.mls.context.path];/jsp/html/MLAuthorTimeRead_AutoLoad.jsp, editMode=[wcm.mls.context.path];/jsp/html/MLAuthorTimeEdit_AutoLoad.jsp
- For the Manual load version:
- readMode=[wcm.mls.context.path];/jsp/html/MLAuthorTimeRead_ManualLoad.jsp, editMode=[wcm.mls.context.path];/jsp/html/MLAuthorTimeEdit_ManualLoad.jsp
- Save the authoring template.
- If the Domain Locale Redirection extension is being used, update the HTTP Server with the new context root. For example, if we are using the IBM HTTP Server with the following configuration settings and the new context root is /abc:
RewriteRule ^/$ /wps/wcmml/jsp/html/MLServletHomePageRedirection.jsp [PT] RewriteRule ^/en$ /wps/wcm/connect/english/Internet.jsp [PT]Should be updated to:
RewriteRule ^/$ /abc/wcmml/jsp/html/MLServletHomePageRedirection.jsp [PT] RewriteRule ^/en$ /abc/wcm/connect/english/Internet.jsp [PT]