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

XF 1.1 Forum domain changed, but url still with old domain

Discussion in 'Troubleshooting and Problems' started by Claudio, Nov 28, 2011.

  1. Claudio

    Claudio Well-Known Member

    I have already :
    • updated the Board URL in the ACP -> Options -> Basic Board Information
    • moved all my files to the new domain
    but messages still having urls with old domain. What I need to do?
    Also Google shows old urls but when I enter to it through Google, I´m not redirected to the new domain
     
  2. Wired

    Wired Active Member

    Do you have a redirect on the old domain that points to the new one?
     
  3. Claudio

    Claudio Well-Known Member

    yes, via Google Webmasters...Do I´m forgetting something else?
     
  4. Claudio

    Claudio Well-Known Member

  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can use this htaccess code on the old domain to redirect all requests:

    Code:
    Redirect 301 /foro http://www.purogeek.com/foro/
    
    You can run this query on your database to update all old links in posts:

    Code:
    UPDATE xf_post
    SET message = REPLACE(message, 'http://www.experienciaue.net/foro', 'http://www.purogeek.com/foro')
    
     
    Morgain likes this.
  6. Morgain

    Morgain Well-Known Member

    Blessings of Annwn on you my child. :)
     

Share This Page