vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   New domain (moving forum) (https://vborg.vbsupport.ru/showthread.php?t=79876)

grecostimpy 04-13-2005 05:21 PM

New domain (moving forum)
 
Hello,

We are in the process of moving our forum to a domain name that has a broader appeal to our members (and future members). (I already have the test forum up on the new domain and it's working great!)

How would I go about setting up a redirect that will propogate the old domain to the new forum correctly? I've seen a few different ways to do this and I'd like a solution that will fit our needs the best.

For instance, if someone types in:

http://www.olddomaniname.com/board/showthread.php?t=11183

What is the proper way to have this redirect to:

http://www.newdomainname.com/board/showthread.php?t=11183

The new domain will have the forum in the exact same structure as the old one (in a folder named "board")

I cannot use domain forwarding/parking as the old domain name will still be used. I simply want the folder "board" to be redirected to the folder "board" on the new domain while retaining the correct link structure (making it invisible to the end user).

Thanks in advance. :squareeyed:

jugo 04-13-2005 07:00 PM

You can do it with .htaccess.

i'll see if I find some sort of tutorial for you.

grecostimpy 04-13-2005 07:06 PM

Quote:

Originally Posted by jugo
You can do it with .htaccess.

i'll see if I find some sort of tutorial for you.

Thanks...

Edit, thiik I found it...htacesss 301 redirect

Redirect 301 /board/ http://www.newdomainname.com/board/


All times are GMT. The time now is 08:12 AM.

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.01049 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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