Support » Plugin: WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage » where is the object path stored in db for this plugin?

  • Hi,
    I am setting up a staging env for the wp instance. I want the file loaded to s3 in different path for different instances. Can someone tell me where the information is stored in db? the “Object Path” of the S3 setting. I can certainly do a db dump and grep for it. If someone knows which table, it will save me some time.

    Thanks 🙂

    https://wordpress.org/plugins/amazon-s3-and-cloudfront/

Viewing 1 replies (of 1 total)
  • Thread Starter weizhuus

    (@weizhuus)

    Here is the option in db

    select * from wp_options where option_name = ‘tantan_wordpress_s3’;

    I can update the option_value with other value for ‘object-prefix’

    a:5:{s:6:”bucket”;s:8:”mybucket”;s:10:”cloudfront”;s:0:””;s:13:”object-prefix”;s:6:”mypath”;s:10:”copy-to-s3″;s:1:”1″;s:13:”serve-from-s3″;s:1:”1″;}

    but make sure change the value after s: to match the length of the object-prefix, otherwise the deserialization fails. a bit tricky but I got it work

Viewing 1 replies (of 1 total)
  • The topic ‘where is the object path stored in db for this plugin?’ is closed to new replies.