how to redirect old vb urls to new ones?

Started by dinodonk, June 17, 2008, 01:13:15 PM

Previous topic - Next topic

dinodonk

I heard this can be done using mod redirect.. can anyone help me to make .htaccess to redirect old vb urls?

TIA

ThorstenE

don't know the exact syntax for VBs URLs but it should be possible.

Example for phpBB may help you.

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Sincere

thank you TE and Sarge.

but is really the smf community unable to write a proper .htaccess file ?

this topic has been Read 3474 times. Is this an indication to anyone in the dev team?

at least let us write a few rules to simply redirect links to topics and messages (threads and posts)

Do you need a special mod for your smf forums? contact me for a quote.

Sincere

come on guys.

Google would seriously punish our site for thousands of broken links...

Do you need a special mod for your smf forums? contact me for a quote.

Sincere

Do you need a special mod for your smf forums? contact me for a quote.

Kill Em All

Is this issue solved or do you still require assistance?

Sorry for the wait by the way.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Sincere

Quote from: Kill Em All on February 15, 2010, 04:57:47 PM
Is this issue solved or do you still require assistance?

Sorry for the wait by the way.

no , it is not solved.

can you help ?

Do you need a special mod for your smf forums? contact me for a quote.

ThorstenE

Sincere, can you post some examples for old vBulletin ULRs? I believe we can fix it but I don't know how the old URLs look ..

Sincere

Do you need a special mod for your smf forums? contact me for a quote.

ThorstenE

ok thanks.. please have a little patience, I'll check this ASAP..

Sincere

Quote from: TE on February 21, 2010, 11:59:56 AM
ok thanks.. please have a little patience, I'll check this ASAP..

no problem. I am waiting. please let me know .
Do you need a special mod for your smf forums? contact me for a quote.

ThorstenE

I've checked it and it's impossible via .htaccess only. At least for the messages we need to make a database query for the topic id (see below).

Attached is a set of php files (names are the same as the former vbulletin files). These files will redirect old URLs to the new forum URL. You have to edit the config.php and add your SMF forum location.

I'll also write the missing showpost.php but I need to know the SMF version. Direct URLs to messages aren't supported by SMF, we need at least the topic id from the SMF database (column names are different in SMF 1.1.x and SMF 2.0, therefore I need your SMF version number).


Sincere

Quote from: TE on February 23, 2010, 12:07:44 PM
I've checked it and it's impossible via .htaccess only. At least for the messages we need to make a database query for the topic id (see below).

Attached is a set of php files (names are the same as the former vbulletin files). These files will redirect old URLs to the new forum URL. You have to edit the config.php and add your SMF forum location.

I'll also write the missing showpost.php but I need to know the SMF version. Direct URLs to messages aren't supported by SMF, we need at least the topic id from the SMF database (column names are different in SMF 1.1.x and SMF 2.0, therefore I need your SMF version number).

thank you. it is smf1.1.11
Do you need a special mod for your smf forums? contact me for a quote.

ThorstenE

sorry for my late reply (have been busy with reallife stuff).. simply download the vbr.zip attachment, unzip that file and edit config.php with a text-editor.. then upload all files to your former vbulletin folder..

Sincere

Quote from: TE on March 03, 2010, 02:16:10 PM
sorry for my late reply (have been busy with reallife stuff).. simply download the vbr.zip attachment, unzip that file and edit config.php with a text-editor.. then upload all files to your former vbulletin folder..

thank you very much.
I definitely would need this package when converting my other forums.
Do you need a special mod for your smf forums? contact me for a quote.

Antes

#16
edit no longer needed


Antes

#18
RewriteEngine on
RewriteRule ^showthread.php?=([0-9]*) index.php?topic=$1 [R=301,L]
RewriteRule ^forumdisplay.php?=([0-9]*) index.php?board=$1 [R=301,L]

alimrb

there is not "t=" :

hxxps://xxxxx.com/forums/showthread.php?14301

and with:
RewriteRule ^showthread.php?([0-9]*) index.php?topic=$1 [R=301,L]

i get:

hxxps://xxxxx.com/index.php?topic=

not:
/index.php?topic=14301

Advertisement: