Hello,
When attempting to edit pages in Cornerstone, i get the error “A conflict on the front end of your site has prevented the preview from loading.” I have been getting this error on and off (mostly getting the error) since installing X a week ago. Here is some information that may help diagnose the issue:
- I am working with a staging site at staging2.waypointhealth.com
- X theme 5.2.2 (child)
- Cornerstone 2.1.3
- PHP 5.6
- No caching or security plugins
- Currently all plugins except Cornerstone are deactivated
- I don’t think we have any custom code (“custom” and “additional CSS” are empty in the customizer)
- In Settings>General, Wordpress address and Site address are both http://waypointhealth.com (i.e. not https://) because we do not have a cert for this domain. Note they are pointed to the root domain, not the subdomain. More about that below.
- SiteGround is the host. https://theme.co/apex/forum/t/popular-questions/204 says SiteGround blocks some Cornerstone resources, but it is unclear to me whether all staging sites hosted at SiteGround will simply be incompatible with Cornerstone until SiteGround changes something, or if there is a workaround or some circumstances when Cornerstone is compatible with SiteGround.
I have found that if I add the staging site subdomain to wp-config.php, like:
define(‘WP_HOME’,‘http://staging2.waypointhealth.com’);
define(‘WP_SITEURL’,‘http://staging2.waypointhealth.com’);
…then i can edit pages in Cornerstone, but i get a “too many redirects” error accessing the staging site itself even after clearing browser cache. I cannot find a configuration that allows me to access the site and edit in Cornerstone.
So there appears to be an issue with URL, but I am unsure of whether this is actually a symptom or some other problem or what the fix might be. Thank you for any suggestions. I am happy to provide site and FTP creds if that would help.
Brett