If you create a staging site and images and other media files are not shown on the staging site this likely happens because your WordPress website has a different non-default location for the uploads folder or the uploads folder is outside the production site’s root folder.
The WordPress default location for the media files is
If you changed this to something like
[path-on-server]/wp-content/images then WP STAGING is not able to copy the images to the staging site.
You have a few options to make the images appearing on the staging site:
- Change the value of the database option
upload_pathin the table
- Change the value of the constant
UPLOADSin the wp-config.php file in the staging site’s directory.
- Copy the media files manually via FTP from the production site to the staging site location
We are already working on an update for WP STAGING to support custom folders like this.
Please get in contact with us if you need assistance with it.