• Irene

    (@arlinaite)


    I have this same issue since 12 month ago.

    Now I see why.

    I have being instructed to enable the plugin for a multisite in a subsite base. But the plugin creates a cache rule in Cloudflare for only one subsite.

    I want to clarify that the Multisite is in a subfolder mode and is used for one only site.

    The following is the only rule created by SPC

    ‘(http.host wildcard “example.com/ba*” and not http.cookie contains “wordpress_logged_in_” and not http.cookie contains “wp-” and not http.cookie contains “comment_” and not http.cookie contains “woocommerce_” and not http.cookie contains “wordpressuser_” and not http.cookie contains “wordpresspass_” and not http.cookie contains “wordpress_sec_” and not http.request.uri contains “/wp-admin” and not http.request.uri contains “/wp-login” and not http.request.uri.path contains “.xml” and not http.request.uri.path contains “.xsl” and not http.request.uri.path contains “robots.txt”)’

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Irene

    (@arlinaite)

    The issue was that each time that a subsite creates a caching rule it delete the rule created before from another subsite.

    So I had to;

    1. Disable Cloudflare CDN & Caching, Serve cached files from Cloudflare using Cache Rule.
    2. And created the following rule.
    (http.host eq "surdelsur.com")
    and not http.cookie contains "wordpress_logged_in_"
    and not http.cookie contains "wp-"
    and not http.cookie contains "comment_"
    and not http.cookie contains "woocommerce_"
    and not http.cookie contains "wordpressuser_"
    and not http.cookie contains "wordpresspass_"
    and not http.cookie contains "wordpress_sec_"
    and not http.request.uri contains "/wp-admin"
    and not http.request.uri contains "/wp-login"
    and not http.request.uri.path contains ".xml"
    and not http.request.uri.path contains ".xsl"
    and not http.request.uri.path contains "robots.txt"

    The subsites belong to one sites, no need to have different rules.

    I have no more warning messages, However I don’t know if the plugin will work as expected.

    Please check if this is the right solution.

    Thanks

    Thread Starter Irene

    (@arlinaite)

    The warning are changing, now I have warnings testing cloudflare in 2 subsites and in the other 2 everything is green

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SPC issue with multisite’ is closed to new replies.