• WP_User

    (@amarudare)


    Hi!
    The code “?swcfpc=1” is being added to ALL internal links even for logged off users.

    This causes issues with table of content as the page reploads to go to the internal link with “?swcfpc=1” rather than moving in the same page.

    You can check in the URL I have shared by clicking any internal link.

    I have swift performance cache plugin but the cache function is turned off.

    Thanks.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @amarudare ,
    the code that adds the swcfpc=1 is executed only for logged in users. If you see it even for logged out users, there is something wrong with your configuration.

    I see you are running under Litespeed Server. Please read the LiteSpeed Server FAQ to prevent private pages from being cached.

    Thread Starter WP_User

    (@amarudare)

    I am using LiteSpeed Server (shared hosting)

    How can I overwrite the cache-control header for WordPress’s pages using web server rules?

    That is the only suggestion in the plugin FAQ.

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    You must disable that option if enabled. Check the options enabled by clicking on Cache tab

    Thread Starter WP_User

    (@amarudare)

    It is disabled i.e. It is set to “No”

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    I need to investigate. Maybe something adds it into your database. You see it also on nav menus while logged out?

    I am also having the same issue.
    Just discovered that I have loads of internal link with swcfpc=1 added to the url’s. This is affecting multiple websites.

    This is not because I am logged in, these links are stored in the database and are displayed to everyone.
    So I now have to go through every single site I have used this plugin and fix the URL’s

    I use litespeed for caching and the DIVI builder.
    What do I need to do in order to stop swcfpc=1 being added to every link/url in my sites?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘?swcfpc=1 added to internal links’ is closed to new replies.