Cloudflare, WordPress and WPGeoDirectory

This topic contains 3 replies, has 3 voices, and was last updated by  jkirker 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #52555

    jkirker
    Lifetime Member
    Post count: 298

    I learned something yesterday with Cloudflare and caching w/ logins. There are issues – even with Rocket Loader disabled..

    You may see:
    ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress

    Here’s the fix.

    First, the free version of CF will not solve this problem. You’ll need to pay for the pro version – this is because there are several paths which you’ll need to exclude from the cache.

    You’ll need to add rules to explicitly bypass the cache for:
    *.example.com/wp-admin/*
    *.example.com/wp-login.php*
    *.example.com/*&preview=true
    *.example.com/?geodir*
    *.example.com/gd*

    The order in which these rules are placed is also critically important. Please move these rules to the top of your rules list.

    I hope this is helpful.

    #52559

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’ve never had this problems with Cloudflare, normally disabling rocketloader is more than enough.

    In any case thanks for letting us know, this could be helpful for other members too.

    🙂

    #54348

    Good Faith Hope
    Buyer
    Post count: 66

    Unfortunately I’m having this problem right now and those rules aren’t helping. I was wondering why people weren’t registering for my site all week.

    #54359

    jkirker
    Lifetime Member
    Post count: 298

    Here’s my full list of CF rules in detail.

    You may also want to add an exclusion for *.domain.com/add-listing/*

    Hope it helps. I’ve also added a social media login and registration plugin by oneall.com which is working great.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket