XF 1.2 Yet Another Redirection Question, Please Help!

yavuz

Well-known member
I have another board that I needed to upgrade to 1.2 but this one was a bit different. It uses Wordpress All things are finished except redirections.

Before it all wordpress was in subforum /gebelik and wordpress in root now the roles have changed. XF is in /forum and Wordpress in root!

Can you please post me htaccess code that redirects all old wordpress and Xenforo url's to their new locations?

Thank you.
 
I have it working partially.

Code:
RedirectMatch 301 ^/(threads|forums|media|members|useralbums|chat)/(.*)$ /forum/$1/$2
RedirectMatch 301 ^/gebelik/$ http://sitename.com/

The first one works (for Xenforo) but the wordpress redirection (gebelik) doesn't work.

Any suggestions?
 
Well, since I'm talking to myself let me put a end to this:

I found a solution by creating the /gebelik folder and put a .htaccess file with the following line:

Code:
RewriteEngine On
RewriteRule ^(.*)$ /$1 [R=301,L]

Thanks everybody, you've been a great help.
 
Back
Top Bottom