• 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

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 :)

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]
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
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