Notifications
Clear all

wpForo 1.x.x [Closed] How to change the all old links/urls?

2 Posts
2 Users
0 Reactions
3,392 Views
Posts: 12
Topic starter
(@arandomjoe)
Eminent Member
Joined: 6 years ago

We have transferred the site from http://site.com/members to http://members.site.com. Is there a way to change all the old urls in the forum in bulk or in one go? We have 25k posts it would be hassle to edit manually. You help and suggestion is much appreciated.

1 Reply
Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Use phpMyAdmin Database Manager of your hosting service cPanel. backup the wp_wpforo_posts table, then execute this SQL:

UPDATE `wp_wpforo_posts` SET `body` = REPLACE( `body`, 'http://site.com/members', 'http://members.site.com' );

Change the sites and the red marked 'wp_' table prefix if your database table prefix is not 'wp_'. After executing this SQL, please navigate to Dashboard > Forums > Dashboard and click on [Delete all caches] button.