phpBB2 Thread URL Redirection Script
This modification is in the archives.
This is a very simple script I wrote after I converted two forums from phpBB2 to vBulletin.
The problem was that there were dozens of pages across the web linking to particular phpBB2 threads, ie: http://www.website.com/forum/viewtopic.php?t=1234 Of course now those links are dead, as the correct URL would be: http://www.website.com/forum/index.php?t=2345 My simple script is just one single file that you upload to your forum root folder. It doesn't modify any code, doesn't require any installation, and zero configuration is required (it uses the includes/config.php to get the database settings. If someone clicks on a link to viewtopic.php (either pointing to a thread or a post), then it will link to that same thread at showthread.php. Installation Instructions Upload viewtopic.php to your vBulletin root folder, eg /forum/ Working demo Thread name "The Apogee Interview series and the weekly Prey update" Old phpBB2 URL: http://www.bluesbrotherscentral.com/forum/viewtopic.php?t=2374 New vB URL: http://www.bluesbrotherscentral.com/forum/index.php?t=2190 Notes
Update June 20, 2007 - Added changes suggested by 'propeller', now uses 301 redirect for search engines. Download
This modification is archived, downloads are still allowed. |