PDA

View Full Version : How to do Forum Redirect?


heroestheseries
Wed 15th Nov '06, 4:27am
Hi, I really hope this isn't the wrong forum to post this question, but anyways...

I'm going to be importing my phpbb to vb over the weekend, and I'm confused about how I'm going to do the redirect, for the search engines and the live members. When they go to the old forum (http://www.mysite.com/forum/) I want them to be redirected to the new one (http://www.mysite.com/vb/). I also have a main site (http://www.mysite.com) which will remain where it is. I just need to redirect people and the search engine bots to the new forum addy.

Does anyone know of a way to do this? I heard you could do this by adding code to the htaccess file. Can anyone offer a better suggestion, or how to do the htaccess way?

Please talk to me like I'm a noob, because I totally am about this.

nico_swd
Wed 15th Nov '06, 8:48am
I personally would leave the forum folder name. It's better for search engines if it's called forum than vb. However, give this a try.

Redirect 301 http://www.mysite.com/forum/ http://www.mysite.com/vb/


Save this as ".htaccess" in the root dir.

heroestheseries
Wed 15th Nov '06, 3:41pm
I personally would leave the forum folder name. It's better for search engines if it's called forum than vb. However, give this a try.

Redirect 301 http://www.mysite.com/forum/ http://www.mysite.com/vb/
Save this as ".htaccess" in the root dir.

Interesting, I never considered that. Is it possible to import from phpbb to vb using the same forum folder name? Wouldn't the files, well, clash or something?