vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Help: htaccess 301 redirect from an old vb3 forum to a new vb4 forum (https://vborg.vbsupport.ru/showthread.php?t=234516)

way2xtreme 01-30-2010 01:21 AM

Help: htaccess 301 redirect from an old vb3 forum to a new vb4 forum
 
Hi there,

I have created a new site under bz domain in vb4 and ported all the database from the previous vb3 site.
I have then create a super big "WE ARE MOVING" sign at the header and even made a htaccess file to redirect index.php. However, people are still visiting different parts of the old site from various links outside on the web.

So, I would like to create more redirect rules. Can anyone help?

Thanks :)

WC


Code:

From
http://myoldforum.myoldsite.com/showthread.php?t=7043
To
http://mynewsite.bz/showthread.php?7043

Code:

From
http://myoldforum.myoldsite.com/forumdisplay.php?f=71
To
http://mynewsite.bz/forumdisplay.php?71

Code:

From
http://myoldforum.myoldsite.com/faq.php?faq=tutorial#faq_tutorial_10
To
http://mynewsite.bz/faq.php?faq=tutorial#faq_tutorial_10


way2xtreme 01-31-2010 04:01 PM

Help anyone?

Thanks in adv :)

Keldaria 02-01-2010 04:24 PM

I would rename your forum directory to another name then setup a "404 page not found" page to say, it looks like the page you were tring to visit is out of date, please try here at our new website! to redirect them... but thats just my overly simplistic metheod, not sure if thats what you were looking for

way2xtreme 02-04-2010 01:13 AM

Thanks :)

I would like to do it thru htaccess because there are quite a bit of links around and all we need is the domain name change..

I think this should be doable tho..


All times are GMT. The time now is 04:06 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.00915 seconds
  • Memory Usage 1,710KB
  • 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
  • (3)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