• Resolved Morshed Alam

    (@sumon1068)


    Hello,

    I am using Guest Mode and I am not using Guest Optimization. And I am not using any ESI for non logged-in users. So there is no content difference. Therefore I do not need the AJAX call to reload the the page.

    How can I stop that reload?

    Can you provide any snippet I can use in functions.php?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    what ajax call ? you mean the guest.vary.php one ?

    you can simply use rewrite rule to block it , like

    RewriteCond %{REQUEST_URI} guest.vary.php
    RewriteRule .* - [F,L]

    though I do NOT recommend it though

    Best regards,

    Thread Starter Morshed Alam

    (@sumon1068)

    Will it hamper guest mode to work? I’m really enjoying guest mode. I just don’t need the reload.

    Thank you.

    Thread Starter Morshed Alam

    (@sumon1068)

    Hello,

    I applied the code. It creates 403 forbidden for guest.vary.php

    And that’s not the case. One of my javascript files stops loading.

    So I quit the idea.

    Thank you for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to stop AJAX call for Guest Mode’ is closed to new replies.