XF 1.2 XenForo in temporary server directory


Well-known member
The redirects will require .htaccess and can be specific to your install. The community will be more than willing to help you when you are ready.


Well-known member
Ok, I'm done editing, I've imported content from phpBB with no problems.

Now I want to move the forum from my temporary folder to my subdomain called forum where the phpBB board is now (ok, I'll move that board first!).


XenForo moderator
Staff member
Archive the phpBB installation.

Move the XenForo installation.

Update the Board URL in the ACP to reflect the new path.


Well-known member
Great! Working!

But how can I remove word forums and threads in URL after my domain?


Now it shows forum.mysite.com/forums/.....

I want forum.mysite.com/.....


Well-known member

I've added this code to my .htaccess before line </IfModule>, but it is not redirecting.

RewriteCond %{QUERY_STRING} (^|&)t=([0-9]+)(&|$) [NC]
RewriteRule ^viewtopic\.php$ /threads/%2? [L,R=301,NC]
RewriteCond %{QUERY_STRING} f=(\d+)$ [NC]
RewriteRule ^(viewforum\.php|viewtopic\.php)$ /forums/%1? [L,R=301,NC]
RewriteCond %{QUERY_STRING} (^|&)p=([0-9]+)(&|$) [NC]
RewriteRule ^viewtopic\.php$ /posts/%2? [L,R=301,NC]
Well, I hope I understand the redirecting right. When I click on a link in search engine it needs to redirect me to the new board?


Well-known member
Not a problem, this is just more appropriate place for the discussion (the post was more of an informative "I've moved it" versus a disciplinary comment).