Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1151169

    JfantasyBooks
    Participant

    Hello,

    Details:

    Name: JFantasyBooks
    Site: Fantasy-Updates
    Site Url: https://fantasy-updates.live
    WordPress Version: 4.6
    X Version: 4.6.1
    Cornerstone Plugin Version: 1.30


    Problem:

    So, I have recently added my website to Cloudflare. Little did I know, cornerstone does not work with it.

    I found some forums that speak in regards to this issue, and there was a solution, but unfortunately, the one they provided worked in allowing the editor to pop up, but the live preview could not load.

    Any suggestions?

    And this is the forum I used for advice: https://community.theme.co/forums/topic/cornerstone-broken-2/#post-333648

    #1151179

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! The Cornerstone builder takes place on the front end, so sometimes Cloudfare tries to cache its resources. This can cause stale data to be loaded. To resolve this, you’ll need to disable Cloudfare when the builder is in use. This won’t effect front end performance at all.

    1. Log into CloudFlare and navigate to “Page Rules”
    2. Add a new rule using this URL pattern: *.example.com/*?cornerstone=1
    3. Under custom caching, enable “Bypass cache”
    4. Turn Performance “Off”

    If you’re still having issues editing a page, you may need to login to Cloudfare again and purge the cache.

    Please let us know how it goes.

    #1151184

    JfantasyBooks
    Participant

    Thanks for the reply,

    Unfortunately, it still doesn’t work. I can use cornerstone, but i cannot use the live preview.

    And yes, I purged the cache.

    #1151187

    Rad
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #1151199

    JfantasyBooks
    Participant

    I actually do mind.

    In the end i decided to not use cloudflare, and have removed it. Cornerstone is working properly now.

    Thanks for your help.

    #1151201

    Rad
    Moderator

    Ah glad to hear that. Caches and CDN are quite tricky to manage when you occasionally work on your site.

    #1152488

    JfantasyBooks
    Participant

    I found the solution. I had to create two page rules.

    One for pages: *example.com/*?cornerstone=1*

    And one for posts to include categories: *example.com/*/*?cornerstone=1*

    #1152501

    John Ezra
    Member

    Glad you got it to work!

    #1298382

    joybram
    Participant

    Hi i tried creating the pagerules as stated above, but unfortunately cornerstone is only available in skeleton mode.
    Performence disabled and cache level bypass

    Is there something i should adjust?
    I’m using wp super cache, autoptimize and cloudflare as is written in an earlier post from 2014.

    Thanks in advance

    #1298431

    Joao
    Moderator

    You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Let us know how it goes,

    Joao

    #1307321

    JfantasyBooks
    Participant

    Not sure if you still need the help, Joybram but… these are my page rules to my site for cornerstone.

    fantasy-books.live/*?cornerstone* for pages

    and

    fantasy-books.live/?*cornerstone* for posts.

    No asterisk before the site name. And no ‘=1’ at the end of cornerstone

    I hope that helps.

    #1307784

    Friech
    Moderator

    Hi There @joybram,

    And make sure you purge all the cache after creating the page rules.

    Thanks for chiming in @jfantasybooks

    Cheers!