Web Stories
Rewrite Web Stories image and video URLs to cloud storage or Imgix, including stories created before Media Cloud.
1 min read·2 tags
The Web Stories integration updates the image and video URLs stored in Web Stories JSON to use your cloud storage or Imgix URLs.
There are no Web Stories-specific settings in Media Cloud.
How it works
- When a story is saved through the Web Stories REST API, Media Cloud rewrites image and video URLs in the story data.
- The rewrite uses the attachment’s cloud URL, or an Imgix URL when Imgix is enabled.
- Existing stories are not changed until you run the update task.
Updating existing stories
Run Media Cloud → Tools → Update Web Stories, or:
wp mediacloud:integrations update-web-stories
Run this after:
- Enabling Media Cloud on a site with existing stories.
- Changing the storage provider or bucket.
- Changing the CDN or Imgix domain.
- Enabling or disabling Imgix.
Requirements
- The Web Stories plugin must be active.
- Cloud Storage or Imgix must be configured.
Notes
- Story data is stored separately from the rendered post content. Updating the post editor alone does not rewrite existing story JSON.
- Clear page and object caches after running the update task.
- If a story still shows local URLs, re-save it in the Web Stories editor and run the task again.
Need a hand with this guide?
Send support the exact step you’re stuck on and we’ll help you finish the setup.