Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2303

[3.3.x] Support Forum • Re: How to bulk change links in posts after moving a forum

$
0
0
...I'm just a bit of an advanced user, not a coder, so this advice didn't help me.
Assuming you have MySQL/mariadb access, here's the SQL:

Code:

UPDATE phpbb3_posts set post_text = REPLACE(post_text, 'forum.sebesdileni.cz', 'forum.etiq.cz') WHERE post_text LIKE '%forum.sebesdileni.cz%';
This is a global replacement, but it's low risk IF the replacement is very unique, as is the case for "forum.sebesdileni.cz". Either way, I would test on a local installation and backup your database before making global changes like this.

Statistics: Posted by HB — Sun Apr 14, 2024 4:27 pm



Viewing all articles
Browse latest Browse all 2303

Trending Articles