[Script] 301 Redirect after ImpEx imported forums
Today I want to introduce a script produced by http://www.cionfs.it/forum/members/fed-nuzzo-6913.html of http://www.tgsdevs.it/ 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
viewforum-topic.zip (1.7 KB, 63 downloads) |