I am converting a client from AWS S3 to Spaces for her large files. There are several hundred files totaling about 500 GBs. All of the folders and file names on AWS S3 contain space characters. The default replacement on AWS for a space character in a URL is a plus sign (+), so all of her URL references in her WordPress site have plus signs in place of the space characters (e.g., https://s3.amazonaws.com/bucket/Addiction+2017/Addiction+2017.pdf). I rcloned all of the files from AWS S3 to our Spaces repository, but the default replacement character for a space on Spaces is %20, so the above URL on Spaces is https://subdomain.domain.com/Addiction%202017/Addiction%20+2017.pdf. I’ve been trying to use Interconnect/IT’s Search and Replace tool to do the replacements in the database, but I can’t get it to work. My next approach was to see if I could reclone the the files and tell Spaces to use a plus sign (+) instead of %20 for the web safe replacement. Can I do that? Any other ideas? I can’t change the files on AWS because they are in active use on the current website. Any help and advice is greatly appreciated.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!