• I’m running into a couple issues trying to enable the CDN functionality of the plugin:

    1. The plugin uses get_option('siteurl') to determine which URLs to replace, but I’m running WordPress in a subfolder, e.g. example.com/wordpress. I’ve defined a custom content directory that sits outside the wordpress folder at example.com/content. This means the plugin can’t replace URLs on my site because it is trying to replace example.com/wordpress with my CDN URL rather than example.com. As a test, I changed get_option('siteurl') to get_option('home') and the URL replacement started working correctly.

    2. I can’t seem to add slashes to the “Include directories” field in the plugin’s CDN settings panel. For example, if I set this up as content, URL replacement will work correctly, but if I specify content/uploads the plugin will silently fail to replace URLs.

  • The topic ‘CDN Issues’ is closed to new replies.