Redirection needed...

Started by BoA, February 10, 2007, 07:06:24 AM

Previous topic - Next topic

BoA

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.

H

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"
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

BoA

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.

SleePy

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.   
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

BoA

OK, so which .htaccess should I modify and what should I actually *specifically* do?

jerm

Sorry for the late response. I take it all worked out in the end?

Advertisement: