The Arcive of vBulletin Modifications Site. |
|
[Script] 301 Redirect after ImpEx imported forums Details »»
|
|||||||||||||||||||||||||||||
|
[Script] 301 Redirect after ImpEx imported forums
Developer Last Online: Dec 2022
Today I want to introduce a script produced by Federico Nuzzo 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 Code:
$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.myforum.com
PS: Sorry for my bad english Download Now
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Any possibility to get a version for attachment.php working as well? (vb to vb import). Need to redirect old attachmentid to importattachmentid when attachment.php is requested on old site.
|
|
#3
|
||||
|
||||
|
Hi,
I don't know. I ask to my co-worker.
|
![]() |
|
|