Migrating a bbPress forum to Xenforo and require 301 Redirection code for .htaccess that will route visitors and search engines to new page locations
The bbPress to Xenforo migration process is almost complete and we will soon be ready to go live with the new software.
301 Redirection is the last step. What we have been able to do is create a Database Table in Xenforo that has the following data;
- bbPress Topic ID
- bbpress URL slug
- Xenforo Thread ID
What we need is a PHP or mod_rewrite mechanism to intercept the URL request, determine if it is for a bbPress Topic, and route that request to the Xenforo Thread ID.
- in Xenforo, requests for a Thread ID automatically load the Thread...
There are approximately 13,000 Threads, many of which have multiple pages of "messages" in the Thread. Total page count is therefore about 40,000
- we need the 301 Redirect to cope with 2nd and subsequent pages of a Thread, e.g.;
If anyone has any questions, please ask...