ICM 7.8 and newer versions come with a new URL rewrite handler implementation which is based on configurations stored in XML files. This rewrite handler will be used by default when the system is prepared using DBInit.
DBMigrate does not replace any setting in terms of URL rewriting. So for existing systems migrating from ICM 7.7. to 7.8. the URL rewriting will work as before.
It is possible to determine the used rewrite handler with the following statements:
select * from preferencedefinition where preferencename = 'URLRewriteHandler'; select * from preference where preferencename = 'URLRewriteHandler';
If the DefaultValue
is com.intershop.beehive.core.internal.urlrewrite.RewriteRuleHandler
, then the old rewrite handler implementation is used.
In case you want to manually migrate refer to the recipe Migrate Old Rewrite Properties Configurations.
If the customer wants to use the new URL rewrite handler after a migration to 7.8 the following task needs to be done:
Change the URLRewriteHandler preference definition default value to com.intershop.component.urlrewrite.internal.handler.URLRewriteHandlerImpl
.
update preferencedefinition set defaultvalue = 'com.intershop.component.urlrewrite.internal.handler.URLRewriteHandlerImpl' where preferencename = 'URLRewriteHandler';
This preference definition default value is used for all channels where the preference is not set explicitly.
Update the existing preferences values for all domains which point to the old URL Rewrite Handler.
update preference set stringvalue = 'com.intershop.component.urlrewrite.internal.handler.URLRewriteHandlerImpl' where preferencename = 'URLRewriteHandler';
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.