CDN and Site URL vs Home URL
-
I have a different site address than the WordPress address. I have also renamed the wp-content folder to “content”. In the CDN settings, I’m using “content” as the entry for the Include directories.
Because I have a different site address, the plugin is unable to rewrite the URLs for the CDN.
The workaround is to change the
$ossdl_off_blog_url
in ossdl-cdn.php.Example:
$ossdl_off_blog_url = get_option('siteurl');
change to:
$ossdl_off_blog_url = home_url();
So I don’t have to hack the plugin, maybe an option can be included on the settings page to allow users to set the blog url?
- The topic ‘CDN and Site URL vs Home URL’ is closed to new replies.