[RSS Feed/News] Redirecting attachments to new domain query

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I've changed my domain and can see that some posts that manually linked attachments from the old domain, have been broken.

I found this mysql query and was wondering if this will still work on xenforo 2.2?

Jake Bunce said:
Run this query on your database:

Code:

Code:
UPDATE xf_post
SET message = REPLACE(message, 'http://domainONE.com', 'http://domainTWO.com')
Click to expand...
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom