Custom redirect in Bvn.404Handler not working



I am trying to get the custom redirect gadget in the BVN.404Handler, but I can't get it to work. It simply wont do the redirects I add.

I have installed the latest version (11.2.3).

The 404 redirect is working.

The redirects are set up like this: <oldurl> - <newurl>

If the old url is valid, it will stay there. If the old url doesn't exist anymore, it will show the 404 page.

Apr 24, 2019 12:28

Can you post an image of your redirects? Ive created some redirects today although in an older version with now problem.

Apr 24, 2019 22:42

If you export your redirects do they show up in the XML file?

Apr 25, 2019 19:36

I would post an image if I could, but the image upload doesn't seem to be working?

I exported the redirects to an xml file, and the result is this:

<?xml version="1.0" encoding="UTF-8"?>
Apr 30, 2019 10:53

Verify that your web.config settings are correct. See: Especially the handlermode="On".

Other troubleshooting things:

  • Using something like CURL you can see what response you're getting from your site
  • Add a new redirect to the XML that exported and import back into the site, make sure it accepts it.
May 02, 2019 18:55

Thanks for your replies!

So, it seems that it works for urls that don't exist. But it doesn't work for pages that either exist or are expired.

Is this the intended functionality?

May 03, 2019 13:17

I would use IIS Url Rewrite module for redirects instead.



May 29, 2019 13:16

Yes, but we wanted the editors to be able to configure this, so we needed a way to do this in episerver.

May 29, 2019 15:52

For pages that exist you may want to use the built-in shortcut feature

May 31, 2019 21:55