Media library links broken
-
After installing this plugin (which is great by the way!), the links in the media library have all broken. Everything works fine otherwise. What is happening is the plugin is adding the custom CNAME subdomain I have set in the program’s settings in addition to the old full URL to the images to make a non-existent full URL for each item in the library, i.e. https://img.example.com/https://www.example.com/wp-content/uploads/2015/01/file.jpg
The link should be https://img.example.com/2015/01/file.jpg to display the images properly in the library as per the new configuration under the plugin. As best I can tell, it appears that the function set_cdn_path inside of lib/functions.php is where the problem is coming from.
Any suggestions on how to fix this? If more information is needed please let me know.
https://www.ads-software.com/plugins/rackspace-cloud-files-cdn/
- The topic ‘Media library links broken’ is closed to new replies.