• 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

Zephyr

Well-known member
#1
Hello, I would like to redirect my ipboard installation to XenForo.
Do you know how to please?


forum.terra-umbra.com/topic/1324-blablabla
==> Redirect ==>
theelderscrolls.fr/threads/1324


Can you help me please ?
Thank :)
 

Jake Bunce

XenForo moderator
Staff member
#4
Everything is redirected excepted the home page, why please?
Those scripts don't do the forum index. But you can add a rewrite rule to your .htaccess file in the old IPB directory:

Code:
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/
 

Zephyr

Well-known member
#6
Is not redirected:

Code:
#    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
#</IfModule>
 
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]
</IfModule>