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

Importing from vB4

Discussion in 'XenForo Pre-Sales Questions' started by Chad, Dec 28, 2014.

  1. Chad

    Chad Active Member

    Before I purchase this, I need some answers on importing from vB.

    I use DBSEO addon with VB for SEO.

    What is the best way to have all old links redirect to the new ones in XF after the import is done?

    I found this, but it's not clear enough for me

    My vb install is root, not a sub folder so it's domain.com

    If I buy XF, it would be installed in root as well, replacing the old VB.

    This is my vb htaccess for example. What would (or should) be the XF htaccess content?

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www\.mydomain\.com
    RewriteRule (.*)  http://www.mydomain.com/$1 [L,R=301]
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ dbseo.php [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ dbseo.php [L,QSA]
    ## Rewrites
    <ifmodule mod_rewrite.c>
        RewriteEngine on
        Options +FollowSymlinks
        RewriteCond %{REQUEST_FILENAME} -s [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        # Forum
        RewriteRule ^threads/.* showthread.php [QSA]
        RewriteRule ^forums/.* forumdisplay.php [QSA]
        RewriteRule ^members/.* member.php [QSA]
        RewriteRule ^blogs/.* blog.php [QSA]
        ReWriteRule ^entries/.* entry.php [QSA]
        RewriteCond %{REQUEST_FILENAME} -s [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        # MVC
        RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    ## Expires
    <ifModule mod_expires.c>
        ExpiresActive On
        ExpiresByType image/gif "access plus 1 year"
        ExpiresByType image/jpeg "access plus 1 year"
        ExpiresByType image/png "access plus 1 year"
        ExpiresByType text/css "access plus 1 year"
        ExpiresByType text/javascript "access plus 1 year"
        ExpiresByType application/javascript "access plus 1 year"
        ExpiresByType application/x-javascript "access plus 1 year"
    <Files 403.shtml>
    order allow,deny
    allow from all
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    You won't receive specific answers to your questions until you've purchased a license and post in the appropriate support forums, but it is possible to import and redirect DBSeo URLs. I am almost certain its been done before and discussed on these forums.
  3. Chad

    Chad Active Member

    I already tried to post in the import forum but it won't let me because I'm not a customer yet. However, this is a simple question for purpose of planning ahead my migration. I shouldn't have to pay $140 to get an answer regarding this import process.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    As already stated, specific answers will not be provided in the pre-sales forum, for obvious reasons.
    Amaury likes this.
  5. Tracy Perry

    Tracy Perry Well-Known Member

    What you are asking is for the specifics on how to do it... not whether it can be done or not. Specific answers on HOW to do it are not provided in the pre-sales question - because it's not the official support area, which you only should need when you have a licensed copy.

    I know it CAN be done, as one guy I helped get his VPS set up used vB 4.2.2 with DBSEO.

Share This Page