• For some reason (at least on our site) if we put in a bypass word for the URL it kills the coming soon mode. Visitors to the site can see the development site.

    If we cut off that feature then the Coming Soon mode works.

    Potential bug?

    We’ve used this awesome plugin on lots of sites with a custom word for the bypass and never had this issue.

    Keep us posted. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ales

    (@alesmal)

    Hello, thanks for reaching out.

    It is a cookie based settings, can you try to access your website in anonymous window, to make sure you don’t have cookies set in your session?

    Ales

    Thread Starter sagency

    (@sdagency)

    Yes, I open Chrome in an incognito tab and even have the cache cleared. (I do my development in Firefox.) Same thing if we jump on browsers in mobile that have not visited the site before. The coming soon just fails. Kinda horrified to know our half baked page was showing. Ooops.

    We use All in One WP Security and Siteground’s SG Optimizer so I don’t know if there is a known conflict.

    • This reply was modified 3 years, 2 months ago by sagency.
    Thread Starter sagency

    (@sdagency)

    So we tried the plugin again today. It worked for a while but after a few hours in a new browser or on the phone with cleared cache the plugin failed again to pos tthe Coming Soon screen.

    We’ve used this plugin many, many times and not run across this.

    Using SiteGround for hosting and All in One WP security if that matters.

    Really need a solution.

    Plugin Author Ales

    (@alesmal)

    Hello, apologies for a late reply, I missed your first reply, it was so quick ??

    I tried the plugin with bypass enabled on our servers and everyting seems to be working fine, I suspect All in One WP security plugin is causing the issue but I don’t have it so I can confirm – everything OK with free version.

    I double checked the code, and CMP is bypassed only when cmp_bypass cookie is set – can you check whether it is set or not in your browser?

    View post on imgur.com

    btw Content of the cookie is the bypass passhprase, so please do not post it here

    Ales

    Thread Starter sagency

    (@sdagency)

    I think I know what you are saying.

    I activated the plugin again and used the bypass phrase. I went to the cookies setting in Chrome and under the Content it is the phrase I use in the Advanced settings.

    So a cookie gets set, but I guess something expires? It’s like after a few hours the site is wide open to anyone.

    My Set bypass cookie Expiration Time in seconds is set to 172800.

    In All in One WP Security I have a Force User Logout after 600 minutes, but that has never cause the CMP plugin to fail before.

    So it’s not like a cookie is failing in a session, it’s for all devices. If I go over to my phone in a few hours and go to our domain it will not hit the CMP Coming Soon and just let me in which is really bad.

    Gotta be some sort of conflict, but what’s odd is I use the same webhost optimizer and security plugin on all sites.

    Thread Starter sagency

    (@sdagency)

    I suspect this has something to do with caching.

    So it just happened again. I had CMP reactivated and had bypassed in Chrome.

    I then deleted my cookies in Chrome and refreshed the site and I was still beyond the CMP Coming Soon wall. Not sure how that’s possible if it’s cookie based.

    So I went to SiteGround’s SG Optimizer and hit Purge Cache, went back to Chrome and THEN it confronted me with the Coming Soon.

    So my bet is there is some conflict with SG Optimizer which is pretty huge and comes standard / default I think on all their hosting / sites.

    Not sure which particular nuance of caching setting it might be. Just a theory.

    For now I’ve had to resort to another Coming Soon plugin which I’d rather not do. Particularly fond of CMP.

    Plugin Author Ales

    (@alesmal)

    Oh, I think I know what is going on.

    1. You enable CMP
    2. When someone visit your site, CMP page is cached
    3. You set Bypass URL
    4. When someone visit your site with Bypass URL, normal website is displayed and cached again.
    5. All new visitors are getting cached normal website

    Make sense to me.

    CMP has implemented support for all major caching plugins, SG Optimizer included. However, cache is purged only when CMP is set to enabled or if any of it’s settings is changed.

    I will look into it, hopefully there is a way to purge the cache programmatically, IF Bypass is enabled but cookie is not present, before displaying cached website.

    Ales

    Thread Starter sagency

    (@sdagency)

    Interesting. So you’re speculating that once anyone uses the bypass, the open view is then cached and getting served?

    Yes, please keep me informed. We love using CMP. Thanks.

    Plugin Author Ales

    (@alesmal)

    Exactly.

    I released the update 4.0.19 today, could you please test this scenario if that reolsved the issue? – don`t be too optimistic, it’s about 50/50 chance ??

    Ales

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bypass URL Corrupts Coming Soon?’ is closed to new replies.