tags:

views:

126

answers:

2

Hi,

Is there any easy way to configure permanent redirects (301) on openCMS? I would like to forward some of my old page urls to their new location.

Thanks

A: 

Hi,

I found UrlRewriteFilter (http://tuckey.org/urlrewrite/) to be quite nice to work with and solved my issue!

A: 

You can create a JSP-template which does nothing else than to send a 301 Permanent Redirect. I did that and it works.

Depending on your requirements you can put the new URL in a property or automatically modify the old URL in the JSP-template.

Andreas Kuckartz