Setting up redirects (Moving forum to a sub-directory)


Well-known member
Currently my forum is located at I want to move it to and place Wordpress at root.

I want to setup an redirect so anyone visiting (lets say this is a example from an google search) would get redirected to the new URL. So people coming from Google won't simply stumble upon a dead link.

At same time, if a visitor is visiting directly, he would be seeing Wordpress.

I believe it is called a 301 redirect, but I am not sure how I can accomplish this. Please help me. :)


Well-known member
@Brogan Thanks for the link. If I understand @Jake Bunce correctly, I only need to add this:
RewriteRule ^(threads|forums|members)/(.*)$ /community/$1/$2 [R=301,L]
to the XF's default .htaccess file and update the Board URL?


XenForo moderator
Staff member
You need to add all of the routes you want to redirect, for example you may want to include 'posts' amongst others.