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

XF 1.5 redirects from SMF to Xenfor with Domain change

Discussion in 'Installation, Upgrade, and Import Support' started by monolith, Apr 23, 2016.

  1. monolith

    monolith Member

    About to jump and want to make sure i do not screw up this part of it
    current server is at http://southerncaliforniahunting.com/huntersforum/
    new site is at http://schoutdoors.com

    thread ID's were imported and seem consistent

    the old site had a joomla site at http://southerncaliforniahunting.com and the forum at http://southerncaliforniahunting.com/huntersforum/

    We want everything that is not a thread to go to root of the new domain name.

    Thank you for the help :)
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add these rules to the top of the .htaccess file in http://southerncaliforniahunting.com/huntersforum :

    RewriteEngine On
    # redirect threads
    RewriteCond %{QUERY_STRING} (^|\?|&)topic=([0-9]+)\.[0-9]+($|&)
    RewriteRule ^index\.php$ http://schoutdoors.com/index.php?threads/%2/ [R=301,L]
    # catch all for everything else
    RewriteRule ^.*$ http://schoutdoors.com/? [R=301,L]
  3. monolith

    monolith Member

    Thank you for the help!
  4. monolith

    monolith Member

    ok we just made the change and everything is redirecting back to the home page on the new site. none of the old links are redirecting properly

    Thanks For the Help
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  6. monolith

    monolith Member

    i am sorry... the redirects are working great. i bookmarked a few links before the switch in a forum i closed. Sorry and thank you again :) so far very very happy and our users are happy

Share This Page