Redirecting old phpBB2 urls to new SMF urls for converted forums

Started by Pedja, October 17, 2006, 04:49:57 AM

Previous topic - Next topic

Pedja

If you converted from phpBB2 to SMF, you wil loose all external links to various parts of your forum.

You will find in attachnent several php scripts that are named identical to scripts in phpBB2, which would accept requests and then redirect clinet to right place in SMF forum.

For isntance, if there is an external link to specific topic on old phpBB2 forum it links to viewtopic.php passing parameters that distinguish which exact topic has to be shown. Attached viewtopic.php will accept phpBB2 parameters and then redirect client to view the same topic converted to SMF.

All scripts redirect using 301 redirection, So they will work well with search engines too.

All you have to do is to save all these scripts in root of your SMF forum.

Oldiesmann

Double-check your coding. A few of those files are missing a closing ' on the location header...


Oldiesmann

Ok. Wasn't trying to complain or anything. Just wanted to save you the headache of having a bunch of people report problems :)

Pedja

I did not think opther wise. Thing is I just created those files by caop&past and somehow I missed that single quote. :)

Oldiesmann


Advertisement: