• 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

#1
Hi

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 ?
 

Brogan

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

Robust

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

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