Interim fix JR47787 addresses an issue where SEO URLs stop working when the default
language is changed in Management Center. This interim fix registers the StoreToken with the new
default language.
Before you begin
- Install the cumulative interim fix for Feature Pack 5, JR53048.fep. JR47787 is included
in the cumulative interim fix.
- Install interim fix JR47787.
For information about
how to install an interim fix, see
Procedure
-
Insert a row into the STORECONF table with the name
'wc.seo.defaultURLLangId' and the value of the
language_id.
For
example,
insert into STORECONF values (storeent_id, 'wc.seo.defaultURLLangId', '-1', 0);
Note: To
find the storeent_id of your store, run the following query, select * from
storeent;
-
Open the Department_Data.jsp file and change
${param.urlLangId} to ${urlLangId}.
-
Update all JSP files that use ${param.urlLangId}. Change
${param.urlLangId} to ${urlLangId}.
For
example:
<wcf:url var="SiteMapURL" patternName="SitemapURL" value="SiteMap">
<wcf:param name="urlLangId" value="${urlLangId}" />
<wcf:param name="storeId" value="${param.storeId}" />
<wcf:param name="catalogId" value="${param.catalogId}"/>
<wcf:param name="langId" value="${param.langId}" />
</wcf:url>
-
Repeat all steps for each of your existing (B2C or B2B) or storefront asset (MPS or BMP)
stores.