• Resolved Tubal

    (@tubal)


    Good plugin!

    I see it’s based on CDN Linker.

    The HTTPS rewrite option does not work and here’s why:

    In the file cnd_enabler.class.php you’re using get_option('siteurl') but that always retrieves the non-ssl blog url. You should use the function get_site_url() so that it retrieves the blog url with or without ssl when appropriate and rewriting under each scheme works. Tested.

    So substitute all get_option('siteurl') calls for get_site_url() and you’re good to go ??

    Regards,

    Túbal

    https://www.ads-software.com/plugins/cdn-enabler/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author KeyCDN

    (@keycdn)

    Normally, get_option(‘siteurl’) just works fine also for HTTPS sites. Did you set this (‘FORCE_SSL_ADMIN’, true); in wp_config.php?

    Please also check what the value is in your wp_options table for the entry siteurl. Does it start with https://?

    The problem with get_site_url() is that is can be easily changed by another plugin.

    Plugin Author KeyCDN

    (@keycdn)

    We might change this if others have similar issues. Please contact us directly if needed: https://www.keycdn.com/contacts

    Same issue here!
    Just switched over to SSL and the plugin refuses to rewrite the CDN address, which was working fine before.

    Has been resolved – simply forgot to check the box in the plugin for https connection.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTTPS reqrite does not work’ is closed to new replies.