[Script] 301 Redirect after ImpEx imported forums

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Today I want to introduce a script produced by Cionfs'Forum CMS - Supporto CMS per WebMaster of TGSDevs for 301 Redirect after ImpEx imported forums .
So it makes a 301 redirect url from Old -> New url.
It works if you have installed vBSEO or not.
This script has been tested to the redirect the imported phpbb3 urls to vBulletin 4.2.1.
It should also work for VB3 (since the DB structure is identical).
Should be enough rename the files to make it work with SMF and MyBB.
The script does the redirect of the forum and topic screens.

You must compile this

PHP:
    $mysql_hostname = "localhost"; // localhost or IP address
    $mysql_username = ""; // user for MySQL
    $mysql_password = ""; // pass for MySQL
    $mysql_database = ""; // database used for vBulletin installation
    $mysql_prefix = "vb_"; // prefix for vBulletin tables
    
    $vBulletinURL = ""; // Sample: www.tuoitreit.vn

Once you have filled just upload the files to the root of the old forum and will be done automatically from the old url to the new 301.

PS: Sorry for my bad english
Download tuoitreit.vn_viewforum-topic.zip
 

Facebook Comments

Similar threads

cuongpro9x
Replies
1
Views
1K
vietpro2008
V
Admin
Replies
0
Views
876
AdminAdmin is verified member.
Admin
D
Replies
0
Views
984
dgtupltn95
D
Admin
Replies
0
Views
6K
AdminAdmin is verified member.
Admin
M
Replies
0
Views
1K
MrLeloi
M
M
Replies
0
Views
1K
MrLeloi
M
Back
Top