crli
Mar 16, 2010
  4334
(0 votes)

Legacy redirect in CMS 6

Fredrik wrote a very interesting and informative post about changes to the configuration files. The post also brings a whole new meaning to the term configuration management.

An issue brounght up are changes of the URL to the edit and admin interfaces which causes existing bookmarks to break. This can be fixed using the downloads below. The module redirects requests to files that exist in edit/admin from the old to the new path.

We decided to pull this from the release since we didn’t have time to fully analyze the consequences of including it. There are two different downloads due to breaking changes to the initialization between RC and RTM.

Mar 16, 2010

Comments

Sep 21, 2010 10:33 AM

I understand the code but how do you install this the best way? I guess I need to change some config to register the module?

Sep 21, 2010 10:33 AM

There's an "initializable module" that is supposed to be picked up automatically and invoked as the site starts. There are some options to configure this in the episerver.framework section which could prevent automatic registration.

Anders Almås
Anders Almås Sep 21, 2010 10:33 AM

I added EPiServer.LegacyRedirect.dll to my bin-folder and restarted my site - but the module is not picked up - do you have an example of how the episerver.framework.config needs to look like to pick it up?

And when it is picked up, is it supposed to appear in admin mode?

Sep 21, 2010 10:33 AM

The framework.config should either look like it does in a clean installation or include the new assembly. The module itself doesn't appear in admin mode, it just redirects incoming requests to /uipath/edit/... to /uipath/cms/edit/...

Anders Almås
Anders Almås Sep 21, 2010 10:33 AM

Ahh - I had changed my framework.config, i reconfigured it and it now works like a charm :) thanks!

Please login to comment.
Latest blogs
Preview multiple Visitor Groups directly while browsing your Optimizely site

Visitor groups are great - it's an easy way to add personalization towards market segments to your site. But it does come with it's own set of...

Allan Thraen | Sep 26, 2022 | Syndicated blog

The Report Center is finally back in Optimizely CMS 12

With Episerver.CMS.UI 12.12.0 the Report Center is finally re-introduced in the core product.

Tomas Hensrud Gulla | Sep 26, 2022 | Syndicated blog

Dynamic Route in ASP.NET Core When MapDynamicControllerRoute Does Not Work

Background Creating one of the add-on for Optimizely I had to deal with challenge to register dynamically route for the API controller. Dynamic rou...

valdis | Sep 25, 2022 | Syndicated blog

404 Error on Static Assets Within an Optimizely plugin

Background With the move to CMS 12 and .NET 5/6, developers are now able to build Plugins and Extensions using Razor Class Libraries (RCL).  These...

Mark Stott | Sep 23, 2022