markb1439
Member
Posted 1 year ago #
Hi,
We're having an issue with CDN redirects on mapped domains using OSSDL CDN Off-Linker (either the standalone plugin or the version integrated in WP Super Cache).
On sub-sites without mapped domains, images and other static items are redirected properly to the CDN.
But, on sub-sites with mapped domains, these items are not redirected. The CDN plugin simply does not even re-write the URLs for these items. So I wonder if the mapped hostname from the plugin is not what the CDN plugin expects.
Any help will be appreciated.
Thanks,
Mark
markb1439
Member
Posted 1 year ago #
On further research, I've found that the problem happens when WP Super Cache is set to PHP mode. In mod_redirect mode, CDN URLs seem to be right.
But I would like to be able to run in PHP mode, for a couple of reasons.
Are you running v0.5.4 of the Domain Mapping plugin? Unsure if this particular issue has been addressed it's always a good idea to have the latest code before debugging. Note that this version installs differently than previous ones. I didn't know about the new version, as it used to be installed in /mu-plugins. Just happened to go check for an update after upgrading to 3.1. Now, it installs in /plugins and is Network Activated.
markb1439
Member
Posted 1 year ago #
@spherical, thanks. I am running the latest version but I did put it in mu-plugins out of habit. I'll try the proper way and see if that fixes it.
However, I fear the worst.
I've also found that the same problem exists with Quick Cache. So the only options seem to be:
- W3 Total Cache, which has some issues with multisite.
- WP Super Cache in full-on (.htaccess) mode.
We'll test some more using the proper installation method.
Thanks,
Mark