Mass redirect

Dear CF community,

I moved my forum to a sub directory named forums. What I want now is to know is there a way to mass redirect old forum links scattered over internet to new location using rules

I want to redirect


If you just want to insert forums to the front of the path, a Redirect Rule makes this very easy:

Match hostname and beginning of path:
( eq "" and starts_with(http.request.uri.path, "/forum/"))

(Edited the above to add the trailing slash for “forum” to prevent the redirect loop.

Dynamic redirect to insert forums in front of path, and preserve query string:

concat("", http.request.uri.path)


thank you for your reply,
but the issue now links redirect to something like

and browser shows ERR_TOO_MANY_REDIRECTS

I found solution and it works!
thank you for your help

1 Like

Works from my end too.

Sorry for the redirect loop caused by that rule. I should have had it check for /forums/.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.