Feb 09, 2021 10:50 am
Hi,
I have a problem, so the attachments are stored in „wp_posts" table "guid" column with absolute path, like for example: "/var/www/html/wp-content/uploads/wpforo/default_attachments/img.jpg", but I need there a link, like this: "https://domain.com/wp-content/uploads/wpforo/default_attachments/img.jpg".
Is there any way to change it via the admin interface? Or is there a hook/filter with which I can manipulate/change the path?
Thanks in advance!
Many greetings,
Istvan
3 Replies
Feb 09, 2021 2:08 pm
We're really sorry, but there is no easy way I can help you with. This requires large changes in the plugin codes.
I may suggest you check out the wpForo Advanced Attachments addon. It has the "Secure Attachment URLs" option. It keeps files path private.