XF 1.2 XenForo in temporary server directory

Jeremy

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.
 

BassMan

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!).
 

Brogan

XenForo moderator
Staff member
Archive the phpBB installation.

Move the XenForo installation.

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

BassMan

Well-known member
Great! Working!

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

Example:

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

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

BassMan

Well-known member
Ok, and how to rename for example:

forum.mysite.com/members/

How to change word members to something else?
 

BassMan

Well-known member
Hi!

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

Code:
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?
 

Jeremy

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).
 
Top