• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Importing from phpbb into a new domain


Let's say I run a phpbb forum on oldforum.com url.

I would like to install xenforo on newforum.com url and import there all data from oldforum.com

The question is: if it is possible, what about old internal links on messages?
Example: message text is "I do recommend you to visit http://www.oldforum.com/viewtopic.php?f=1&t=1".

When this message is imported into xenforo, how can I update this kind of internal links to point to http://www.newforum.com/viewtopic.php?f=1&t=1 ?


XenForo moderator
Staff member
You can use redirection scripts to automatically redirect existing phpBB links to the new XenForo equivalents.


Well-known member
If everything after the domain is the same then this can be done with a simple rewrite in nginx for example

return 301 http://yournewsite.tld/$1;
Otherwise, I'd imagine some sort of script or SQL query as replacement can do this too.