Media Library Link not updating
-
I’ve setup the plugin using the wp-config.php variables including the “UPLOAD_URL_PATH” which contains the full CDN URL to my do spaces bucket.
define( ‘DOS_KEY’, ‘*****************’ );
define( ‘DOS_SECRET’, ‘**************************’ );
define( ‘DOS_CONTAINER’, ‘mybucketname’ );
define( ‘DOS_ENDPOINT’, ‘https://sfo2.digitaloceanspaces.com’ );
define( ‘UPLOAD_URL_PATH’, ‘https://sfo2.cdn.digitaloceanspaces.com/mybucketname’ );
define( ‘UPLOAD_PATH’, ‘usr/src/wordpress’);The images upload fine and to the correct bucket location but the URL in the media library is still pointing to the local web domain image URL instead of the CDN URL. I’ve tried to disable all plugins to see if it fixes the issue but no dice. I’ve temporarily installed a CDN Rewrite plugin to get the images to point to proper CDN URLs on the frontend of the site. I’ve also tried both options of configuring the files to delete from the server on upload and to not. Neither solves my issue either.
Any help is tremendously appreciated as this has me pulling my hair out!
- The topic ‘Media Library Link not updating’ is closed to new replies.