• Resolved livingmiracles

    (@livingmiracles)


    Hello,

    As we’ve been implementing this plugin on more and more of our sites (the plugin is great overall and feels like an answer to a prayer so far), we have been noticing at least with our Divi-themed sites where we’ll edit a page and the module or area of that page we edited will have the ?swcfpc=1 cache buster query string automatically inserted to all the internal or external links there. I understand that this should happen to all the internal links while logged in to the site, but we are seeing this happen on the front-end of the site while not being logged in and for external links too.

    Is this a bug or intended behavior? To us, this seems like some sort of bug, maybe with visual builders in general which we feel would be supportive to have resolved. I’m aware that this issue shouldn’t occur if we use the Worker method instead, but our sites can receive a lot of requests at times and many of our sites use the Divi theme, so this would be a practical solution or even workaround in general.

    Thank you,
    Nicolas from Living Miracles

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    yes the issue that you are seeing is because of the visual page builders as they store URLs badly and copy the whole thing as internal URL structure. Unfortunately if you stick with page builders you might see this sometimes.

    The easiest solution to this is wither using the worker mode which you have stated you don’t wanna use due to high traffic of the site. The other thing you can do is enable the SEO redirect option in the plugin settings > Others tab: https://i.imgur.com/21lE4dT.png

    This will ensure that if a non-loggedin user visit a URL with the query parameter in it, it will simply be redirected to the normal URL instead.

    Thread Starter livingmiracles

    (@livingmiracles)

    Hi @isaumya,

    Thank you for confirming this. It is unfortunate that this occurs with visual page builders, but if that’s the way it is, we’ll deal with it.

    Thank you for also mentioning that SEO redirect option. I had seen it before but hadn’t tested it out yet. I tried it on the site and, from what I can tell, it works very nicely. Not sure how it specifically works though, as I didn’t see any change occur in the .htaccess file on the site after enabling the option. If you’re open to sharing more about how this option for redirecting logged-out users only works exactly, I’d be curious to hear and appreciative of the info.

    As for this issue itself, it feels as solved as it can be for us for now. So I’ll mark this topic as resolved with this reply. Thanks again!

    Plugin Contributor iSaumya

    (@isaumya)

    Not sure how it specifically works though, as I didn’t see any change occur in the .htaccess file on the site after enabling the option.

    – When you are accessing the special query string version of the URL, it checks if you are logged in if so then it let you proceed else it redirects you to the non query string version of the URL. It is done at the PHP level.

    Thread Starter livingmiracles

    (@livingmiracles)

    Great, thank you for the extra info!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘?swcfpc=1 Gets Auto Inserted to Internal & External Links on Edited Pages’ is closed to new replies.