Dear, sorry for this question. Unfortunately other topics have not yielded results.
I have a WordPress Multisite with the main domain mysite.com and the subdomains fr.mysite.com, es.mysite.com
How do I install the Cloudflare there? I have set up Cloudflare on the main domain and when I now look in Cloudflare in APO, only the main domain mysite.com is read there. Not the subdomains.
If I now set up the Cloudflare plugin on the subdomains e.g. fr.mysite.com, I get the error message:
"You are using a subdomain for your site, but any Cloudflare settings applied via this plugin will be applied to your original domain as well.
I did not enable APO in the plugin. When I turn APO on, it shows me the subdomain in Cloudflare in APO but not the main domain.
So I leave out the APO setting in Cloudflare Plugin. But the error message remains.
Hence, my question. Do I have to switch on the Cloudflare Plugin in every single subdomain page and set up the Cloudflare Plugin or only on the main domain and why is the subdomain not listed in APO?
Thanks a lot. Best regards Neo
You need to set up all the subdomains first, once they are all set up then you do the root domain and will see all the subdomains listed
Dear, thank you very much. But unfortunately there is not the information I asked for. )-;
if the API key only works on the root domain, how do I register cloudflare on the subdomain?
if I activate the cloudflare plugin on the subdomain, do I have to switch off or switch on APO there?
Because if I switch it on there, the Cloudflare account in APO will no longer show me the root domain, but only the subdomain.
Thanks a lot. Best regards Neo
You do all the subdomains with the Global Key (
Once they are all set up you then do the root as normal
Then they will all be using APO.
This is taken from the link I posted:
Enabling APO on a subdomain
- Install Cloudflare’s WordPress plugin version 3.8.6 or later on the subdomain.
- Login using Global key (API token only works on the root domain)
- Enable APO feature
- You should see the subdomain in the list of hostnames in the card
- Repeat the process for all subdomains you want to enable APO
When activating APO on a subdomain as a part of the migration, APO will be disabled on a root domain automatically. If you are still interested in running APO against the root, please upgrade WordPress plugin version 3.8.6 or later on the root domain and re-enable APO.
Dear @whistles, many thanks.
That is solved.
One more question, can I ignore this message?
“You are using a subdomain for your site, but any Cloudflare settings applied via this plugin will be applied to your original domain as well.”
Have a nice day. Best regards
That just means that the APO settings affect all the sites.
Dear @whistles, many thanks. Have a nice day. Best regards
Yes, please ignore, we will update this message to acknowledge specifics of APO feature for subdomains.
Dear, thank you very much. Yes, it would be great if the plugin or the settings for WordPress Multisite would be a bit lighter. But I am very satisfied. Thanks a lot. Have a nice day and stay healthy. Cheers Neo
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.