vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vB Page Redirection (https://vborg.vbsupport.ru/showthread.php?t=99338)

oglsmm 10-26-2005 03:12 AM

vB Page Redirection
 
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 03:28 AM

use meta-refresh
Code:

<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 09: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 11:45 AM

1 Attachment(s)
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.


[high]* peterska2 comes back[/high]

I found it :)

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


All times are GMT. The time now is 02:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01442 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete