1. 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

Discussion in 'Installation, Upgrade, and Import Support' started by ncbetz, Jun 23, 2016.

  1. ncbetz

    ncbetz Formerly Noah Betz

    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
     
  2. ncbetz

    ncbetz Formerly Noah Betz

    I specifically would like information on redirection.
     
  3. Solidus

    Solidus Well-Known Member

    You only need to set a 301 redirection from old domain to new domain.
     
  4. ncbetz

    ncbetz Formerly Noah Betz

    I can do this in my Registar's dashboard, correct?
     
  5. ncbetz

    ncbetz Formerly Noah Betz

    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?
     
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

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

    ncbetz Formerly Noah Betz

    Same.

    Thanks, will do.
     
  8. ncbetz

    ncbetz Formerly Noah Betz

    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.
     
  9. ncbetz

    ncbetz Formerly Noah Betz

    I just created a .htaccess for CU, it is this:
    Code:
    RewriteEngine On
    
    RewriteRule ^(.*)$ http://LibertyUnderground.org/$1 [R=301,L]
     

Share This Page