1. 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

Discussion in 'XenForo Pre-Sales Questions' started by videorecover, Aug 30, 2014.

  1. videorecover

    videorecover New Member


    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 ?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can use redirection scripts to automatically redirect existing phpBB links to the new XenForo equivalents.
  3. Robust

    Robust 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.

Share This Page