vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - 404 / 301 after import redirect on import ids (https://vborg.vbsupport.ru/showthread.php?t=176964)

tommythejoat 10-25-2011 08:51 PM

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.

thecoo1est 05-21-2012 02:50 PM

Does this also work with 4.1.12? I just purchased vb today and I really want to figure everything out before I convert from smf to vbulletin, thanks.

BasilFawlty 11-03-2012 03:46 PM

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:

forum:
http://www.example.com/forum/ubbthre.../introductions

thread (with unread posts):

http://www.example.com/forum/ubbthre...ed_help#UNREAD

OR (if its a thread that has no unread posts):

http://www.example.com/forum/ubbthre...elp#Post878325

User Profile:

http://www.example.com/forum/ubbthre...9/fredschmertz

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.

michaelstoffer 02-26-2014 03:38 PM

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.

adigetr 06-30-2014 03:27 PM

I need to for SMF to vbulletin ?

Anyone help me please ?

I used pretty url SMF

Now I use vb 3.8.4 and vbseo

I need to 301 redirect old SMF links please help me.

Thanks.


All times are GMT. The time now is 01:38 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
  • Page Generation 0.01148 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete