Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

hard coded attachments URLs from previous mybb

5 Posts
2 Users
1 Reactions
35 Views
Posts: 3
Topic starter
(@waltsdaughter)
Active Member
Joined: 23 hours ago

This week, I successfully migrated and converted my forum from mybb to wpforo and I love it. Everything works perfectly and I was up and running within several hours. However, I noticed that all my attachments (and there are thousands) are all hard-coded and point to the old Windows server. Here are a few examples.

Link 1

Link 2

They should be pointing to the new folder at Hostinger "wp-content/uploads/wpforo/uploads/"

Can I run a script, etc., to correct this problem? Any help greatly appreciated. I'm excited to get the NEW forum up and running quickly for my 2,344 Members with 31.1 K posts.

Here's the link to my new forum: WW2 Combat Engineers


4 Replies
Robert
Posts: 10603
Admin
(@robert)
Support Team
Joined: 10 years ago

Hi @waltsdaughter ,

Are they located in the same WordPress files system? What do you mean saying in point to the old Windows server? If they are not in the same WordPress file system then you should transfer all files to the same base folders of current WordPress. 

For example if the files are in this folder of another server:
/forumnew/uploads/monthly_2019_05/

You should download all folders of the /forumnew/uploads/ directory and upload to /wp-content/uploads/wpforo/uploads/

Then run a simple SQL to replace all them:

UPDATE wp_wpforo_posts SET `body` = REPLACE(`body`, 'http://www.6thcorpscombatengineers.com/forumnew/uploads/', 'https://your-new-forum-domain.com/wp-content/uploads/wpforo/uploads/')

Then go to wpForo > Overview admin page, scroll down, find the [Delete All Cache] button and click it.


Reply
Posts: 3
Topic starter
(@waltsdaughter)
Active Member
Joined: 23 hours ago

I did state, "They should be pointing to the new folder at Hostinger "wp-content/uploads/wpforo/uploads/"

Everything moved successfully, including attachtments. However, all the orginal (old) files are hardcoded from mybb and still point there. 

I will do as you suggested and run the query. Thanks for your help. Happy New Year.


Reply
Posts: 3
Topic starter
(@waltsdaughter)
Active Member
Joined: 23 hours ago

Robert, unfortunately it didn't work. It got me to thinking, that when I perused the db, I see no tables with the prefix wp_wpforo within my mybbb database that I used to set up my wpForo migration. 


Reply
1 Reply
Robert
Admin
(@robert)
Joined: 10 years ago

Support Team
Posts: 10603

@waltsdaughter,

You should change the wp_ to your database table prefix, it could be different. Also you should change the your-new-forum-domain.com to the real domain name of your current WordPress website.


Reply