• Resolved Rafael Fischmann

    (@rfischmann)


    Hi, I’m using SuperSonic since yesterday but every time I go into the plugin settings page there is a huge number of “pages in queue to purge from CloudFlare cache”.

    This morning, there were more than 600!

    Wasn’t that supposed to be automatically cleared? My WordPress cron is running every minute.

    Thanks.

    https://wordpress.org/plugins/supersonic/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author kursora

    (@kursora)

    Please enable event logging in options tab and check Log tab.

    Thread Starter Rafael Fischmann

    (@rfischmann)

    Thanks!

    So now I know what’s wrong:

    Purge failed: The host for your URL does not match the zone. for “http://www.applemagazine.com.br/”

    I just don’t understand why is it using this URL, as the one set in “CF Settings” is macmagazine.com.br.

    Any ideas?

    Plugin Author kursora

    (@kursora)

    Please check settings in WordPress->Settings->General
    WordPress Address (URL) and Site Address (URL). Both should be https://macmagazine.com.br/

    Thread Starter Rafael Fischmann

    (@rfischmann)

    Yep, both are set up correctly inside WordPress.

    applemagazine.com.br is just an alias to our main domain which is among a few other domains we have configured in CloudFlare. Alphabetically it’s the first one there; I don’t know if that might be the issue.

    Plugin Author kursora

    (@kursora)

    Go to CF Tools tab in Supersonic and click “Purge CloudFlare cache”.
    It also clears queue. Then update some page or post and check if problem persists.

    Thread Starter Rafael Fischmann

    (@rfischmann)

    I’ve been doing that since yesterday, clicking “Purge everything!” Then the warning on the top goes away, but the number starts to build up again. It’s now on 34 pages.

    Funny, now I looked at the logs and there are new ones:

    Purge failed: The host for your URL does not match the zone. for “http://macmagazine.tv/”

    That’s another alias domain we have configured in CloudFlare.

    Plugin Author kursora

    (@kursora)

    OK. Now I understand.

    You should add redirection to .htaccess files for all other domains to main domain.

    Now page https://macmagazine.com.br/usados-apple/ is also avaliable on
    http://macmagazine.tv/usados-apple/ and http://www.applemagazine.com.br/usados-apple/

    Plugin Author kursora

    (@kursora)

    On the top of .htaccess add:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !macmagazine.com.br$ [NC]
    RewriteRule ^(.*)$ https://macmagazine.com.br/$1 [L,R=301]

    (not tested but should work)

    Thread Starter Rafael Fischmann

    (@rfischmann)

    Thank you! I’ve just configured the .htaccess using your code and it seems to be working.

    Now I’ll observe if the issue is gone on the plugin. 🙂

    Thread Starter Rafael Fischmann

    (@rfischmann)

    Yep, issue seems to be gone. Great! 😉

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

The topic ‘Number of pages in queue’ is closed to new replies.