bbPress SimplePress 5 Importer
-
As a bbPress newbie, I hope it is appropriate to post this here.
I would like to offer a massive thank you for SimplePress5.php
It converted my 10,000+ post Simple:Press forum. I copied the import routine database settings from my wp-config.php., and I then completed all the Repair jobs as per instructions. I can confirm it works perfectly on Simple:Press 5.1.1, and with redirects in .htaccess, the search engines have no problem finding the old content.
I’m now looking forward to doing some support on a working forum, rather than twisting through hoops to keep the old forum alive.
-
Thanks for the feedback, glad it worked for you.
What custom rewrite rules did you use in .htaccess for redirects, care to share these for other users migrating from SimplePress?
Cheers,
Stephen
OK, here are the redirects, but first some background.
Your move takes some planning, and the redirects are specific to your old Simple:Press Forum structure and your new bbPress settings (Admin-Settings-Forums). I describe how I approached my conversion, but you may need a different approach. If you need specific help with a different set of objectives, then please just ask. I did not use tagging in Simple:Press, as it was more trouble to implement than the benefit it gave. None of this refers to tagging, and I notice that the r4638 version of SimplePress5.php has them commented out.
If your forum has little search and external referral traffic, then save yourself the bother of all this, and just get on with building your new forum.
Before I explain the permalinks, you need to be aware that I took this opportunity of simplifying my forum structure. I used to believe in different forums for different subject areas, but I’ve come to realize that most forum users do not understand my theme, so they cannot decide which forum to post in. I noticed the same thing here when I looked around for the best place to post. I decided to simplify my forums to two main choices, with the rest as child forums. I did this by manually editing the Forums parents in bbPress after the conversion. That explains my choice of Topic slug in bbPress settings, but redirects should handle any choice.
In Simple:Press, topics get permalinks in a hierarchy under their forum, and all forums lie within the WordPress forums page in the Simple:Press settings. Thus, a topic will be referenced domain/wp-forums-page/sp-forum-title-slug/sp-post-title
In bbPress, permalinks are built from your WordPress root, with prefixes set in the bbPress settings under slugs. Thus a topic will be referenced domain/bb-forums-base/bb-topic-slug/bb-post-titleThe post titles are the same in bbPress and Simple:Press, so redirects have to account for the changed forum slug structure.
The first bbPress setting, Forums base, is the equivalent of your Simple:Press WP page, so I used exactly that. If you made bad choices when setting up your Simple:Press forum, I guess you could change it with the redirects, by specifying different destination URLs. I kept it the same, and simply renamed my old Simple:Press page (be aware this auto changes in WP menus, so you may need to manually delete old forum menu pages and add new custom menu links)
In bbPress settings Single Slugs, the Forum Prefix should be left switched on.
Forum slug has no Simple:Press equivalent, so I opted for something theme related. The default is probably OK, but I’m slug-fixated as a result of a bad SEO upbringing. I have not redirected these pages, but I will assess the impact over the next few days, and come back with these if I see they are necessary.
I set topic slug to my most popular forum, which is very general, as per my introduction. Redirects will handle whatever you put here.
The rest of the bbPress settings do not affect conversion.
At last, @netweb here are the requested redirects. Are you glad you didn’t ask for my life story? 😉
The general construct is:
Old
^ begin with
/wp-forums-page
/sp-forum-title-slug
(.*) store the restNew
//domain
/bb-forums-base
/bb-topic-slug
/$1 whatever * storedRedirectMatch 301 ^/gout-pal-forum/gout-symptoms(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gout-cures(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gout-diet(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/colchicine-campaign(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/united-states-colchicine-sources(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gout-related(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/uric-acid(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/your-gout(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/tech-stuff(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/wish-list(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1 RedirectMatch 301 ^/gout-pal-forum/gouties-water-trough(.*) http://www.gout-pal.com/gout-pal-forum/please-help-my-gout/$1
One potential complication lies with multi-page topics. I’m still assessing if it is worth bothering with these, as traffic rarely hits anything after the first page. Google WebMaster Tools is currently complaining, but experience tells me it will soon re-index unless there are other sites that link to specific pages.
Disclaimer: Before you try this at home, you might like to wait a month or so. I’ll be back to tell you if I killed my forum traffic or not. 😮
Huge thanks for this 🙂 (and your life story, it puts things in a much clearer context.)
I have also split this topic starting from your first post as a new thread as I am quite sure this will be referenced by quite a few who do migrate from Simple Press.
I will also link to it from the FAQ I am doing that will link from this page:
https://codex.bbpress.org/import-forums/simplepress/
Cheers,
Stephen
First off, I’m an idiot when it comes to this stuff but I’m trying to learn.
I’m not sure where I went wrong, but iI have both Simple: Press and bb_press as plugins. I want to import my Simple:Press forum to the bbPress forum and delete Simple:Press. I tried following these instructions:
https://codex.bbpress.org/import-forums/
But when I tried to do the conversion, I didn’t know where to find the name of the database info, so I left it blank.
Tried the conversion anyway and it said there are no topics, forums, users, etc to convert.
Where can I find the name of the database, etc so I can fill that form out correctly OR..
Is that even what I should be doing?
Thanks in Advance!
- You must be logged in to reply to this topic.