Not Solved phpbb links to mybb
#1
Not Solved
Hello,

I'm looking to convert my phpbb3 forum over to mybb. I have already done some tests and it works fine, however one problem is we have changed the forum directory. On top of that, the mybb links are different to the phpbb ones.

What I would like to know is, how can I redirect any attempts at visiting the old location towards the new mybb forum and display the correct forum/post?

Previous structure
www.mysite.com/forums/viewtopic.php?f=13&t=1843

New structure
www.mysite.com/

So I need to redirect any attempts to visit the /forums/ directory to the root directory and still bring up the correct page. I have seen some topics on doing this, but neither really answered both of my questions in 1.

I have not yet done the merge, so any info on editing files etc would be great.

I would appreciate any help you can give on this.
Reply
#2
Not Solved
Add the following to the end of your .htaccess file:

# Redirect from "/forums/" to "/"
RewriteCond %{HTTP_HOST} ^www.mysite.com/forums
RewriteRule ^(.*) http://www.mysite.com/$1 [P]

Replace mysite.com with your own site of course.
Reply
#3
Not Solved
And that is all? Most of the threads I have seen indicate something needs to be edited within the Merge system itself before that can be done.
Reply
#4
Not Solved
There is more required for the PHPBB to MyBB part.

However for the "/forum/" to "/" part the .htaccess will help.
Reply
#5
Not Solved
AFAIK, this is *not* all that needs to be done. That will not redirect viewtopic.php requests to showthread properly, let alone with the merged tid.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply
#6
Not Solved
Thank you for the responses. If there is anyone else who knows of any prior steps that need to be taken, I would appreciate that info! Smile
Reply
#7
Not Solved
The problem is that the ids aren't the same and by default the old ids aren't saved after the merge. You would need to change the merge system to keep that ids and need to write a new plugin which is able to redirect an old id to the new one. Both is possible and planned for the 2.0 merge system but there aren't any tutorials for the current merge system.
Support PMs will be ignored!
Reply
#8
Not Solved
I appreciate the help. Out of curiosity, is there any rough ETA of when Merge 2.0 would be here, or how far off you think it is likely to be?
Reply
#9
Not Solved
No, we're concentrating on the core atm (which hasn't any ETA either) and the merge system will likely be started when the core is already pretty stable.
Support PMs will be ignored!
Reply
#10
Not Solved
I'm wondering the same thing as the OP. Do these instructions from the archive for redirecting phpbb forum links to mybb forum links still apply? It includes creating two files that redirect viewtopic.php and viewforum.php

http://community.mybb.com/thread-14341.html

Also, can't something be done in the htaccess file to make this redirect too? If so, how?

And what about direct links to specific posts, like this one for instance:

http://www.happierabroad.com/forum/viewt...05#p195005

The # part goes directly to a specific post in a thread.

Thanks.

Also, I'm wondering, how is forum software like this free? Where does the funding come from? How do the programmers of mybb get paid? What's their incentive? Are there exceptions to that old adage "There's no such thing as a free lunch"?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)