crli
Mar 16, 2010
  4961
(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
Copy Optimizely SaaS CMS Settings to ENV Format Via Bookmarklet

Do you work with multiple Optimizely SaaS CMS instances? Use a bookmarklet to automatically copy them to your clipboard, ready to paste into your e...

Daniel Isaacs | Dec 22, 2024 | Syndicated blog

Increase timeout for long running SQL queries using SQL addon

Learn how to increase the timeout for long running SQL queries using the SQL addon.

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Overriding the help text for the Name property in Optimizely CMS

I recently received a question about how to override the Help text for the built-in Name property in Optimizely CMS, so I decided to document my...

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Resize Images on the Fly with Optimizely DXP's New CDN Feature

With the latest release, you can now resize images on demand using the Content Delivery Network (CDN). This means no more storing multiple versions...

Satata Satez | Dec 19, 2024