PDA

View Full Version : vB Page Redirection


oglsmm
10-26-2005, 04:12 AM
I will be moving my website soon to another host/server and have a new domain. I would like to do is the following.

I have the Original Board disabled. I want to make the disabled message say:

Welcome, we have recently moved to a new server, and have a shiny new domain name http://www.domainname.com

You will be re-directed to the new site in a few seconds...... Click here to go there now.

Then have the script wait say 10 seconds and then redirect people.

Any ideas on how I would do this?

harmor19
10-26-2005, 04:28 AM
use meta-refresh

<meta http-equiv="refresh" content="10;url=http://domainname.com/">
You will be re-directed to the new site in a few seconds <a href="http://domainname.com">Click here</a> to go there now.

oglsmm
10-26-2005, 10:54 AM
Would I just create a blank page with that or do I add that into a template somewhere?

[EDIT] - Never mind. i just used the Meta code in the vB Board Offline Message. Thank you very much for the help.

peterska2
10-26-2005, 12:45 PM
Your best way is to use a new page and overwrite ALL vB files with it. Simply because, while the vB files are still on your old host, you are in breach of your licence agreement.

I did this for someone else who had to move a coupld of weeks ago. I've I've still got a copy of the page I'll attach it for you.

* peterska2 goes off to look.


* peterska2 comes back

I found it :)

Just edit the file accordingly and remane as many times as required.