vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   url rewrite mybb to vbulletin (https://vborg.vbsupport.ru/showthread.php?t=273035)

Domiav 10-29-2011 07:33 PM

url rewrite mybb to vbulletin
 
Hello guys;
i was looking for a url rewrite rule to rewrite the old urls based on mybb to the newest one that vbulleting give me.
the url on mybb are:
Code:

http://www.website.com/forum/showthread.php?pid=44406#pid44406
vbulletin:
Code:

http://www.website.com/forum/showthread.php/2123-discussion-name?p=44046#post44046
i tried with:
Code:

http://www.website.com/forum/showthread.php/p=44406#post44406
but doesn't work, seems that i miss the "2123".
Any idea on how to write a rule to make the full url? thank you!

Mooff 10-29-2011 08:40 PM

Just check the links here on vbulletin.org
This thread:
Code:

https://vborg.vbsupport.ru/showthread.php?t=273035
Your post:
Code:

https://vborg.vbsupport.ru/showthread.php?p=2262756#2262756
this forum:
Code:

https://vborg.vbsupport.ru/forumdisplay.php?f=251

Domiav 10-30-2011 01:41 PM

sry i didn't understand you; as far as i can see vbullent impex system doesn't keep my thread ids that are on mybb:)
i've however made some improvemente and i've found a background on my urls:
mybb url are like:
Code:

www.old.com/forum/showthread.php?tid=number
and vbulletin are:
Code:

www.new.com/forum/showthread.php/samenumberonmybb-121
Now the problem is:
How i can suctract 121 on the mod_rewrite using .htaccess?
thanks.


All times are GMT. The time now is 02:32 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.01059 seconds
  • Memory Usage 1,714KB
  • 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
  • (8)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete