• 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

Claudio

Well-known member
#1
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
 

Jake Bunce

XenForo moderator
Staff member
#5
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')