AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] How to change the all old links/urls?

2 Posts
2 Users
0 Reactions
3,926 Views
Posts: 12
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@arandomjoe)
Eminent Member
Joined: 8 years ago
[#6593]

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: 10755
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months 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.


Share: