Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rj2020

    (@rj2020)

    Thank you, Weston, much appreciated! Have a wonderful day further!

    Thread Starter rj2020

    (@rj2020)

    Yes, I did clear the cache…nothing helped but then I realized that there was a syntax issue.

    I copied and pasted your original solution
    RewriteRule .* – [E=Cache-Vary:wp-postpass_186e16151a69841525d4ddc995dae72d]

    the dash after “RewriteRule .* –” was the issue? that caused the site to break?

    I noticed visually there was a difference in the length old”–” new”-”

    I replaced it and used your initial suggestion, the site did not break and I have not had an issue again thereafter with a password protected page – so up to now, I hope it stays the same but so far touch wood the password login seems to be functioning the way you would expect it to function.

    Thank you so much for your help! ??

    I will mark this issue as resolved

    Thread Starter rj2020

    (@rj2020)

    Maybe this will help here are links to some screen clippings of what I did and the result

    Screen clipping where I added the suggested RewriteRule to the .htaccess file
    Screen clipping of broken site after I added the suggested RewriteRule

    Thanks

    Thread Starter rj2020

    (@rj2020)

    Hi,

    Thank you for your quick reply…

    ?? Yip, I actually put
    RewriteRule .* – [E=Cache-Vary:YOUR_COOKIE_NAME]
    but I also think it was in completely the wrong place inside the .htaccess file.
    I guess you don’t know what you don’t know – now… I know thanks!

    So, I took it out and then added
    RewriteRule .* – [E=Cache-Vary:wp-postpass_186e16151a69841525d4ddc995dae72d]
    as instructed.

    I use Cloudflare CDN so I turned on the Development Mode and then
    Purged all cache

    But then it completely breaks the site

    I also tried to removing
    RewriteRule .* – [E=Cache-Control:no-autoflush]
    and leaving only
    RewriteRule .* – [E=Cache-Vary:wp-postpass_186e16151a69841525d4ddc995dae72d]

    But it also breaks the site

    I now removed
    RewriteRule .* – [E=Cache-Vary:wp-postpass_186e16151a69841525d4ddc995dae72d]
    and only left the original
    RewriteRule .* – [E=Cache-Control:no-autoflush]
    now the site is not broken anymore but I am back to square one…

    Please help, I hope the above info explains everything correctly…

    Is there anything else I can try? or is there anything that I am doing wrong?

    Thanks ??

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