Browse the docs
Tasks
Step-by-step for the things you do often once Offloft is running, from excluding files to moving your settings to another site.
In this section
01Connect a providerChoose your storage provider, create a bucket and access key, then connect it to Offloft by following its step-by-step guide.
To connect a provider, open Offloft → Settings → Connection, or the setup wizard on a new site, choose your provider, and paste your access keys and bucket name. Each provider has a step-by-step guide, inside the plugin and on this site, with values to copy and paste.
Read the full page02Run the connection test and the delivery checkWhat the connection test and the delivery check each look at, and what to do when one of them fails on your site.
- 1Credentials. Your provider accepts the keys.
- 2Bucket. The bucket exists and these keys can reach it.
- 3Upload. A small test file can be written.
- 4Read back. The file comes back the same.
- 5Delete. The test file can be removed.
03Use a custom domain or CDN for your mediaPoint an address you own at your bucket, then tell Offloft to use it, so your media loads from your own domain.
- 1In your provider's dashboard, connect the domain to your bucket. With Cloudflare R2 on the same Cloudflare account, use the bucket's custom domain setting. Elsewhere, add the CNAME record your provider shows at your DNS host.
- 2Wait for the domain to answer over https://. This can take a few minutes after a DNS change.
- 3In Offloft, open Settings → Delivery, enter the domain and run the delivery test.
04Exclude files from offloadKeep single media items on your server, or skip whole file types, so Offloft leaves those files out of the cloud.
- 1Open Offloft → Files.
- 2Select the items.
- 3Choose Exclude from the bulk actions.
05Bring everything back to your serverDownload every file again, check each one, and return your site to its local files.
- 1If you used Replace URLs in database, click Undo from backup in Tools first, so your posts point at your server again.
- 2Open Jobs and choose Bring everything back to my server.
- 3Leave Also delete from … afterwards off unless you're sure.
- 4Click Start bringing back. It runs in the background, so you can close the page.
06Replace URLs in old contentA rarely needed tool that rewrites saved media addresses, with a preview, a backup and undo.
- 1Open Offloft → Tools and find Replace URLs in database.
- 2Click Run a dry run. It's read-only, and shows how many addresses it found in posts, custom fields and site settings.
- 3Confirm you have a recent database backup. Offloft also saves the changed rows so you can undo.
- 4Click Replace URLs. It runs as a job that you can pause.
07Export and import settingsCopy Offloft's settings between sites, with or without your access keys.
To copy settings to another site, open Offloft → Tools → Export or import settings and click Export. Access keys are left out unless you choose to include them. On the other site, choose the file and click Import. Offloft shows what will change first, and you can undo the import.
Read the full page08Turn off "delete from bucket when deleted in WordPress"Keep files in your bucket when a media item is deleted in WordPress, and what that means for your storage bill.
By default, deleting a media item in WordPress also removes its files from your bucket, which keeps the bucket tidy. To keep them, open Offloft → Settings → Uploads & sync and turn off Delete from the cloud when deleted in the Media Library. The setting saves automatically.
Read the full page