Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Mari Jørgensen
Jun 1, 2011
  7133
(3 votes)

A Major Facelift for the 404 Module

The 404 handler on EPiCode has been improved and upgraded for version 6 of EPiServer CMS. One of the new features is the ability for editors and administrators to maintain redirects through a gadget in the Online Center. 

gadget

With the 404 Handler Redirect Gadget editors can add new custom redirects, delete or search for existing redirects. The "old URL" is unique, meaning that if you register two custom redirects with the same old URL, the latter will overwrite the first one. All redirects are saved in the Dynamic Data Store.

Installation and supported environments

You can choose between a NuGet install package (requires Visual Studio 2010) or a module install package for EPiServer Deployment Center. The NuGet package will become available in the EPiServer NuGet feed soon.

For download and documentation please visit the module wiki page on EPiCode.

The module has been developed and tested for IIS 7, and built using EPiServer CMS 6. I’ve briefly tested it on CMS 6 R2 and it seems to be working just fine. It has not been tested on .NET 4.

Jun 01, 2011

Comments

Jun 1, 2011 04:04 PM

Awesome - really looking forward to trying this out (through Nuget of course!)

Does the redirect work in a similar way to Magnus' module (see below), which ensured the correct Http status code was also sent?

http://world.episerver.com/Blogs/Magnus-von-Wachenfeldt/Dates/2010/2/Making-EPiServer-and-Search-Engines-Work-Together/

Mari Jørgensen
Mari Jørgensen Jun 3, 2011 08:10 AM

Yes, if the url is mapped the Http 301 Moved Permanently is sent.

Mari Jørgensen
Mari Jørgensen Jun 3, 2011 02:28 PM

Update: The module is now available in the EPiServer NuGet Feed (http://nuget.episerver.com/).

Jun 10, 2011 02:34 AM

Fantastic, so many people ask for this!

rachel.goldthorpe@karuba.co.nz
rachel.goldthorpe@karuba.co.nz Feb 10, 2012 02:24 AM

The correct HTTP status code isn't quite right when redirecting .aspx pages.

Instead you get a 302 returned for the old URL and then a redirect to the 404 page which then gives you a 301 code (see bottom of ticket code 198 https://www.coderesort.com/p/epicode/ticket/198#comment:1)

Does anyone have knowledge on what effect this will have with search engines?

Please login to comment.
Latest blogs
Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog