Support » Plugin: W3 Total Cache » CDN URL Rewrite not Working for 1 Site in Network

  • Bit of an introduction:

    I have a large multisite set up going and we are moving to AWS. As a part of that we will be using S3/CloudFront and are using the W3 plugin to handle all that. It works great except on one site in our network.

    On this site none of the asset URLs are being rewritten. IE:
    Expecting: cloudfront.net/wp-content/themes/…
    Getting: cloudfront.net/subsite/wp-content/themes/…

    I believe this is happening because the entire network is locked down behind an ADFS integration except for this one site, it is restricted by IP via htaccess. However, when I turned the plugin off, the static resources are served correctly so the client has permission to the content.

    This issue only happens to users that are not logged into WordPress, which they should not be. If the user is logged into WordPress they are also granted access and everything loads great.

    So the main question I have is are there any resources outside of wp-content that the user needs to have access to in order for the CDN rewrite rules to work? (i.e. admin-ajax or anything like that)? If not are there any suggestions on where to begin troubleshooting this?

  • The topic ‘CDN URL Rewrite not Working for 1 Site in Network’ is closed to new replies.