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

XF 1.5 Redirect Help

ncbetz

Formerly Noah Betz
#1
Hello,
I am moving my site from ConservativeUnderground.io to LibertyUnderground.org, is there anything I need know in advance and what will I need to do to get it to redirect old thread links to the same one on the new URL?

Thanks,
Noah
 

ncbetz

Formerly Noah Betz
#5
Hehe, so, I backed up everything, uploaded the files to my new domain, I then tried to go to it... It then redirected me to my OLD site. Is this a CloudFlare issue?
 

Jake Bunce

XenForo moderator
Staff member
#6
Are both domains parked on the same server or different servers? Your domain pointers are the first thing to check. Then look for redirects on whichever server is being accessed.

Use these rules at the top of the .htaccess file in the web root of ConservativeUnderground.io to redirect to the new domain:

Code:
RewriteEngine On

RewriteRule ^(.*)$ http://LibertyUnderground.org/$1 [R=301,L]
 

ncbetz

Formerly Noah Betz
#8
For ConservativeUnderground:
A Name: @ - IP
A Name: www - IP

For Liberty Underground:
A Name: @ - IP
A Name: www - IP

The IP is the same for both of them.
 

ncbetz

Formerly Noah Betz
#9
I just created a .htaccess for CU, it is this:
Code:
RewriteEngine On

RewriteRule ^(.*)$ http://LibertyUnderground.org/$1 [R=301,L]