ianmjones
Forum Replies Created
-
Unfortunately we’ve found that Envira Gallery doesn’t play nice with any remote files, it currently expects the files to exist locally and doesn’t use the WordPress API to get a proper reference to an attachment’s URL.
1. Are non-media directories in wp-content folder stored on s3?
For example, if I have a directory wp-content/non-media-uploads/ , will this be saved?
No, WP Offload S3 only works with properly registered Media Library entries.
2. Is it possible to exclude certain directories in wp-content folder from getting uploaded?
Yes, check out the
as3cf_pre_update_attachment_metadata
filter in the Tweaks plugin, you could use the attachment metadata in$data
to decide on whether you want the file uploaded to S3 or not.would it be good to do a find “somename.s3-us-west-1.amazonaws.com” replace with “files.somename.com”
Yes, you need to update the “bucket” in the “amazonS3_info” postmeta records. I’d recommend Better Search Replace, but I may be a little biased. ??
FYI: If you’d been using the WP Offload S3 plugin and switched the bucket in its settings it would have offered to copy the files for you and properly updated the Media Library references.
Thanks for answering Jan, spot on!
I’ll answer the remain questions (I work for @deliciousbrains)…
3. What happens when all media files are permanently moved to Amazon and my client decides to leave my services? How do I reinstate all their images back to WordPress?
If you haven’t used the “Remove Files From Server” option then there’s nothing to worry about, they have all the files locally.
The Pro version has a tool for downloading the files from S3 back to the server (if you’ve removed them from the server), it also has a tool for downloading to the server and then removing from S3 should you want to do that.
You should really be setting up S3 for the client anyway and using AWS keys that they control as it’s their data. Although I can understand if you’re providing a full server hosting package that this might not be ideal.
4. Many websites have an image compression plugin like WPSmush. Is there a way to delay the actions of WP Offload S3 Lite by 1 minute? The idea is, the images get compressed first, then WP Offload S3 Lite moves the images to Amazon.
In most cases what happens is the image compression plugin takes precedence in the filtering of the postmeta data (which WP Offload S3 uses to trigger its upload) and does its compression and rewrite of postmeta before WP Offload S3 then uploads the newly compressed files. However, some plugins such as EWWW Image Optimizer are telling WP Offload S3 to not upload to S3 (there’s a filter for that), doing their work in the background, then updating the postmeta which triggers WP Offload S3 to upload to S3.
Forum: Plugins
In reply to: [Options Pixie] Doesn't say which pluginHi Stacy,
I would love to add that kind of information.
Unfortunately it’s pretty much impossible to determine which options records are associated with which plugins and themes as each uses different naming schemes for their records and there is no relevant meta data saved with each options record.
Ian
Forum: Plugins
In reply to: [Options Pixie] At least some function should be within the free versionThanks for the feedback Adrain.
What’s the error when not using gzip?
Also, what version of WP Migrate DB are you using, the recently released 0.7.2?
Can you try the export without the “Compress file with gzip” option?
Forum: Plugins
In reply to: [WP Migrate Lite - WordPress Migration Made Easy] URL issues – bad formatting@blitz999, thanks for your thoughts, much appreciated.
Please do send through your Diagnostic Info & Error Log, plus a screenshot of what the Find & Replace looks like on a new Export profile, just so we know we’re on the same page.
Forum: Plugins
In reply to: [WP Migrate Lite - WordPress Migration Made Easy] URL issues – bad formattingHi @blitz999, I wonder whether you have another plugin, hook function or problem with your theme that is adding “http:” when “//” is found without a protocol?
I am one of the developers of WP Migrate DB Pro, so I can assure you that it does not include the protocol in the URL Find/Replaces that it sets up by default, well, it’s not supposed to.
Maybe you’ve found a bug, please could you send your Diagnostic Info & Error Log from the Help tab to “nom [at] deliciousbrains [dot] com” and mention that Ian asked you to send the info, with a link to this topic, and we’ll see if we can get to the bottom of this issue.
Forum: Plugins
In reply to: [WP Migrate Lite - WordPress Migration Made Easy] URL issues – bad formatting@feralreason, it’s best to do the protocol-less find/replace first to ensure any links that already have a different protocol are correctly updated, and then do the protocol specific find replace by adding another find/replace row at the end…
//dev.example.com => //www.example.com https://www.example.com => https://www.example.com
This goes for http to https and also https to http.