XF 1.2 XenForo in temporary server directory

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!).
 
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/.....
 
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?
 
Top Bottom