Tagged: cornerstone
-
AuthorPosts
-
August 28, 2016 at 10:33 pm #1151169
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
August 28, 2016 at 10:42 pm #1151179Hello 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.
August 28, 2016 at 10:49 pm #1151184Thanks 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.
August 28, 2016 at 10:53 pm #1151187Hi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
August 28, 2016 at 11:31 pm #1151199I 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.
August 28, 2016 at 11:33 pm #1151201Ah glad to hear that. Caches and CDN are quite tricky to manage when you occasionally work on your site.
August 29, 2016 at 6:21 pm #1152488I 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*
August 29, 2016 at 6:41 pm #1152501Glad you got it to work!
December 19, 2016 at 11:22 am #1298382Hi i tried creating the pagerules as stated above, but unfortunately cornerstone is only available in skeleton mode.
Performence disabled and cache level bypassIs 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
December 19, 2016 at 11:42 am #1298431You 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
December 28, 2016 at 10:50 am #1307321Not 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.
December 28, 2016 at 6:01 pm #1307784Hi There @joybram,
And make sure you purge all the cache after creating the page rules.
Thanks for chiming in @jfantasybooks
Cheers!
-
AuthorPosts