![]() |
404 / 301 after import redirect on import ids
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 original discussion thread on vBulletin.com : http://www.vbulletin.com/forum/showthread.php?t=178161 It is advised that $do_404 = false; is set so the 301 is sent with the new URL to update search engines. The script needs setting up and customising to each site as the domains and URLs can be different. |
welcome Jerry
does this script work ok to phpbb3 |
This will work with forums where you can parse the URL to get the old id and the script will look up the new one.
As with any install of it, you have to customise it for your site. |
I assume the "ipd2" setting (for Invision 2.0) would also work for Invision 1.3 imports? (I believe the IPB url structure is the same for 1.3 and 2.0+ versions, no?)
|
If the URLs, GET vars and file names are the same, I would of thought so yes.
|
Just tried it on a test install (in the process of going from PHPBB2 to vBulletin) and it works a treat.
Thanks |
Good to know :)
|
I have an odd problem. It works for everything but User Profiles. When someone clicks on an old user profile link from PHPBB2 it takes the user to Profile 0 in vBulletin. If you set it to debug mode, sure enough, no matter what old user profile link you click on it comes back as 0.
Now, I am not totally code illiterate, but I come from the C++ / VB world and know very little about PHP. I have tried to follow the code, but I just can not grasp what some of the functions are doing. If anyone has had this problem and found a solution, please let me know. |
Sounds like you have a different user URL to the one that is being expected.
Can you give an example of the old phpBB profile URL that is being requested ? |
Code:
http://thenewx.org/phpbb2/profile.php?mode=viewprofile&u=1594 |
All times are GMT. The time now is 06:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|