Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: BoA on February 10, 2007, 07:06:24 AM

Title: Redirection needed...
Post by: BoA on February 10, 2007, 07:06:24 AM
My current SMF 1.1RC2 forum (www.gadgetkorea.com) will be moving to a new domain name soon.

But I have so many pages indexed at google and I can only redirect the main domain (i.e. www.gadgetkorea.com) to my new domain.

How can I make it so that, whatever page the user tries to access (e.g. from search engine), it automatically redirects to the new domain?

Thanks in advance,

BoA.
Title: Re: Redirection needed...
Post by: H on February 10, 2007, 09:10:16 AM
If the content of both sites is going to be identical then I would make a .htaccess which does a 301   (permanent) redirect for every page viewed.

I'm not too good at the rewrite syntax for apache however Google has quite a few results for "301 redirect"
Title: Re: Redirection needed...
Post by: BoA on February 10, 2007, 09:38:37 AM
The contents are not necessarily identical.

Quite simply, Any thing under the old site should simply direct to the new site's portal. That's it.
Title: Re: Redirection needed...
Post by: SleePy on February 10, 2007, 01:47:53 PM
as Huwnet said a 301 redirect in .htaccess or PHP will tell google to update their links. The 301 means moved for good and will change all links to the new address.   
Title: Re: Redirection needed...
Post by: BoA on February 10, 2007, 01:49:07 PM
OK, so which .htaccess should I modify and what should I actually *specifically* do?
Title: Re: Redirection needed...
Post by: jerm on May 21, 2007, 12:33:51 AM
Sorry for the late response. I take it all worked out in the end?