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

XF 1.2 PHPBB to XF?

Discussion in 'Installation, Upgrade, and Import Support' started by Stan, Jul 24, 2013.

  1. Stan

    Stan Active Member

    So I am currently running a site on PHPBB using no Rewrites. It is currently ranking pretty good on my keywords.. The DB is 4.5gb.

    Total posts 1696258 • Total topics 989446 • Total members 20669

    So my question is how will XF handle the large DB and import?

    Next what will happened to my Google Ranks? What about the old URLs is there a way to redirect them?

    Any help would be greatly appreciated.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    XenForo will handle a board of that size without issue. The import may be slow, I'm not sure of a CLI or large phpBB import tool to speed up the process. I would suggest you run a few test imports to see how long it'll take and to verify the import is to your likings.

    There should be rewrite rules out there already taht will redirect old to new links (if you keep IDs in a fresh install, the redirects become easier).
     
  3. Sheratan

    Sheratan Well-Known Member

    phpBB user here.

    For redirect the old url into XF url, you need to use some htaccess rules. This is mine.

    Code:
    RewriteCond %{QUERY_STRING} (^|&)t=([0-9]+)(&|$) [NC]
    RewriteRule ^viewtopic\.php$ /threads/%2? [L,R=301,NC]
    RewriteCond %{QUERY_STRING} f=(\d+)$ [NC]
    RewriteRule ^(viewforum\.php|viewtopic\.php)$ /forums/%1? [L,R=301,NC]
    RewriteCond %{QUERY_STRING} (^|&)p=([0-9]+)(&|$) [NC]
    RewriteRule ^viewtopic\.php$ /posts/%2? [L,R=301,NC]
    
    Of course, you need to change that rules so it can fit to your phpBB configuration.
     
    maszd likes this.
  4. Stan

    Stan Active Member

    Im using the default set.. SO for instance Forum Section is:

    viewforum.php?f=23

    and thread is:

    viewtopic.php?f=23&t=1125398

    Think your rewrites would work?
     
  5. sonnb

    sonnb Well-Known Member

    As the rules above, I think it should work.
     
  6. Stan

    Stan Active Member

    Finally finished the migration. Took 2 days to do the import but well worth it. Site is running smooth without any issues. Thank you Sheratan for the redirects.

    I guess we got another BIGBOARD running Xenforo.. I would give the URL here, but it is Adult.

    Thanks again all
     
    maszd, Mike and MattW like this.
  7. BassMan

    BassMan Well-Known Member

    Hi!

    I've added this code to my .htaccess before line </IfModule>, but it is not redirecting.

    Well, I hope I understand the redirecting right. When I click on a link in search engine it needs to redirect me to the new board?
     
  8. Sheratan

    Sheratan Well-Known Member

    Yes, redirected.

    You need to change the rules so it can fit your board.

    @Jake Bunce is .htaccess guru in here. You can ask him. :)
     
    BassMan likes this.
  9. BassMan

    BassMan Well-Known Member

    Ok, I stared conversation with him. Still waiting...

    Btw, the point is I just don't know where is file 301config.php to insert define('IMPORT_LOG_TABLE', 'import_log_old_forum');> like says here: http://xenforo.com/help/import-redirection/

    Where have you put it? You redirect from phpBB, right?
     
  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Please provide an example old and new thread URL. Then I can be sure about your redirects and provide exact instructions specifically for you.
     
  11. BassMan

    BassMan Well-Known Member

  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    BassMan likes this.
  13. BassMan

    BassMan Well-Known Member

    Thank you!
     
  14. Ark Royal

    Ark Royal Active Member

    Last edited: Sep 12, 2013
  15. Ark Royal

    Ark Royal Active Member

    Can anyone help?
     
  16. Digital Doctor

    Digital Doctor Well-Known Member

    Do you want .htaccess redirects ?
    @Jake Bunce is the man.
     
  17. Ark Royal

    Ark Royal Active Member

    Yes sorry should have made that clear, .htaccess redirect required
     
  18. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  19. Ark Royal

    Ark Royal Active Member

  20. Ark Royal

    Ark Royal Active Member

    @Jake Bunce sorry to bump this, can anyone help?
     

Share This Page