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

XF 1.1 Ipboard => redirect (.htaccess) => Xenforo

Discussion in 'Installation, Upgrade, and Import Support' started by Zephyr, Oct 2, 2012.

  1. Zephyr

    Zephyr Well-Known Member

    Hello, I would like to redirect my ipboard installation to XenForo.
    Do you know how to please?

    ==> Redirect ==>

    Can you help me please ?
    Thank :)
  2. Insy

    Insy Well-Known Member

  3. Zephyr

    Zephyr Well-Known Member

    Everything is redirected excepted the home page, why please?
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Those scripts don't do the forum index. But you can add a rewrite rule to your .htaccess file in the old IPB directory:

    RewriteRule ^$ /xenforo/? [R=301,L]
    If you put this in the .htaccess file in the old IPB directory then it will redirect the index URL (e.g. yoursite.com/ipb/) to yoursite.com/xenforo/
  5. Zephyr

    Zephyr Well-Known Member

    Ok thank you, but all this is to make a permanent redirect? :)
  6. Zephyr

    Zephyr Well-Known Member

    Is not redirected:

    #    Mod_security can interfere with uploading of content such as attachments. If you
    #    cannot attach files, remove the "#" from the lines below.
    #<IfModule mod_security.c>
    #    SecFilterEngine Off
    #    SecFilterScanPOST Off
    ErrorDocument 401 default
    ErrorDocument 403 default
    ErrorDocument 404 default
    ErrorDocument 500 default
    <IfModule mod_rewrite.c>
        RewriteEngine On
        #    If you are having problems with the rewrite rules, remove the "#" from the
        #    line that begins "RewriteBase" below. You will also have to change the path
        #    of the rewrite to reflect the path to your XenForo installation.
        #RewriteBase /ip.board
        # IPS Rewrite Rules
        RewriteCond %{REQUEST_URI} /(topic|forum|user)/ [OR]
        RewriteCond %{QUERY_STRING} (^|&)show(topic|forum|user)= [OR]
        RewriteCond %{QUERY_STRING} ^/(topic|forum|user)/ [OR]
        RewriteCond %{PATH_INFO} ^/(topic|forum|user)/
        RewriteRule ^.*$ ips2xf.php [NC,L]
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d 
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^(data|js|styles|install) - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]
        RewriteRule ^$ http://theelderscrolls.fr [R=301,L]
        # test => RewriteRule / http://theelderscrolls.fr [R=301,L]
        # test => forum.terra-umbra.com http://theelderscrolls.fr [R=301,L]
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add that line after RewriteEngine On
    Zephyr likes this.
  8. Zephyr

    Zephyr Well-Known Member

    Perfect, thank Jake ! :)

Share This Page