Move Library To amazon S3

This topic contains 3 replies, has 3 voices, and was last updated by  Jorge Adrian Urrego Acosta 5 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #442038

    Jorge Adrian Urrego Acosta
    Full Member
    Post count: 22

    Hi!!!

    My directory have a large number of listing and a large number of image. This is great, but my main dedicated server reached the storage limit. The main solution is migrate 50GB of images (all of them optimized) to Amazon S3 and link all old Listing to new location. It’s not a problem that the new post storage images again in the dedicated server…. we just need space liberage now . The question is:…. where update the new url location ? wp_geodir_attachments table?

    Thank for your help!!

    Regards!!

    #442053

    Guust
    Moderator
    Post count: 29970

    I’ll get a developer to have a look at your question after the weekend. Thanks

    #442146

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    We use the wp function to get the base url for the media directory, filtering this value will let you move the pics anywhere else as long as the folder structure is kept.
    https://developer.wordpress.org/reference/functions/wp_upload_dir/

    Stiofan

    #442292

    Jorge Adrian Urrego Acosta
    Full Member
    Post count: 22

    ok …. I will try this and tell you the results. Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket