Version: 1.00, by Jerry
Developer Last Online: Oct 2010
Category: Miscellaneous Hacks -
Version: 3.6.9
Rating:
Released: 04-22-2008
Last Update: Never
Installs: 52
Re-useable Code
No support by the author.
After importing from a source board there will be internal and external links that point to the old URLS.
During the import the origional import id's are kept (for one import) so a redirect can be calculated to find the new user/forum/thread/post, by looking up the old import{$type}id.
ImpEx currently alters the table to add the import id, though a planned future version will have this separated so multi-import sites can be managed,
The Impex program re-indexes all the threads it imports. It does not really care what the source forum product was. The old index is save in a column with threads, posts, profiles, etc. for each item that was imported.
For any given solution, you do not need all the generality that is in the 404 trap. You just need to know where to find the old threadid in the url that has been trapped because the target was not found.
That threadid is then used to look up the new threadid in the vBulletin database and the new threadid is used to compose a URL for the imported thread.
It is not just Google that needs this help. All the internal references to other threads, images, etc. on your old message board still reference the old url's also. Unless you write a query to edit all of those references to current correct thread references, they will be handled by the 404 trap also.
On my board, I removed the translation id's from the content tables and put them into their own table. I also created a log table that keeps track of the translations so I could see what the traffic was and when some references were not trapped properly.
Since vBsolutions wrote the original code, I don't think I am free to post it here.
I am running UBB.Threads, but using "Search Engine Friendly" URLs. Is it possible to modify this script to properly parse threads, forums, profiles when my URLs for each look like this:
I'm getting ready to move a UBB.Treads forum that I've ran for 12 years to VBulletin. Would really appreciate any help with how to ensure that any old threads in Google are properly redirected to the correct new threads once I do the import.
Would anyone have an idea on how to get this script to work if the URL structure had been changed from http://www.eaxample.com/forums to http://forums.example.com? This is something that I have been fighting with for a couple days now and can't seem to figure it out.