XF 1.2 Redirect URL's since vB4 and vBSEO

Luis

Well-known member
I've converted a vB4 forum with vBSEO 3.6 after being hacked 3 times in a month.

Now I do not understand how to rewrite the URL's, even after reading a few threads about this and do some tests with no success.

XenForo software is on the same route as the old vB4 (www.mydomain.com/foro).

I have the configuration file of the vBSEO URL's if needed. The new server use Nginx

Please, someone is kind enough to help me.

Soorry for my english, I am using Google translator to write.

Thanks.
 
Add to the top of the .htaccess file in your /foro directory:

Code:
RewriteEngine On

RewriteRule ^[^/]+/.+-([0-9]+)/$ /foro/threads/$1/ [R=301,L]
RewriteRule ^members/.+-([0-9]+)/$ /foro/members/$1/ [R=301,L]
RewriteRule ^[^/]+-([0-9]+)/$ /foro/forums/$1/ [R=301,L]

That should do it.
 
Top Bottom