RSS Feed/News Redirecting attachments to new domain query

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,648
Points
823

Reputation:

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...
Jake Bunce
Continue reading...
 
Status
Not open for further replies.
Top