The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changing host, need to forward users with php code
Ok, this is the case:
Since we've been using too much bandwidth on our dedicated server lately, we have to move the forums to another host with cheaper bandwidth. I've already bought and configured this, and I set up a new domain for the forums. So, what I need to do when changing host, is to redirect users to the new host. I was going to use a .htaccess file with the Redirect setting, but Apache on that server doesn't allow such settings in .htaccess files. So, I need to figure out something else. We have just released a new piece of software (game actually), and we're getting linked to from everywhere (even slashdot ). So I can't just delete the vB forums off the dedicated server and breake the links. I *need* to sort something out here. Floris answeared me on the official forums, and told me to try: PHP Code:
So now, when a user visits myolddomain.com/forums, they get forwarded to mynewdomain.com/forums. So far so good. But when they are linked to a spesific thread, like myolddomain.com/forums/showthread?t=3813, they are still just forwarded to mynewdomain.com/forums, and not to the spesific thread. I told Floris this, and he told me to try: PHP Code:
Quote:
|
#2
|
|||
|
|||
Too much text to read for ya, eh?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|