XF 2.3 Rebuild links in posts

Spectral-Brain

New member
After migrating from IPS -> Xenforo, I had to install xenforo under a sub directory on my old forum. After the import I then connected the database to my new host and URL but it still shows all the links in posts as the https://oldurl.com/subdir/. Is there a cache I can rebuild to rebuild these urls so they are the new ones?
 
if these links are basically part of post content, you would have to edit them to point to correct location. a simple solution would be to run a find/replace using an addon or directly in database using something like phpmyadmin.

i have used a sql command like this in the past:

UPDATE xf_post SET message = REPLACE(message, 'oldtext', 'newtext');

make sure you know what you are doing. close the forum. take a backup. do a test convert. check a bunch of posts with old url. and once you are sure all is well, open the forum back.
 
Back
Top Bottom