• Hi everyone,
    And thanks again to the dev for this GREAT plugin.

    I had issues with WP Super Cache (1.6.9 ) on WP (5.2.2) and WP Download Codes
    (2.5.3.1) (with NO x-sendfile)

    -> All the download links gave me a “server not found”.

    So I had to modify the plugin’s file /includes/shortcode.php and add an extra parameter to the generated download links.

    1- In your WP Super Cache plugin settings, in the Advanced tab, localize the “DO NOT CACHE PAGE secret key:XXX1234XXXXX“.
    Copy the link (only the part without your domain, like this:
    ?donotcachepage=XXX1234XXXXX

    2- Open the plugin file /includes/shortcode.php in your editor.
    On the line 94 you would see:
    $html .= ‘<p>

    3- So now, on this line 94, replace the ‘/?lease=’ by ‘/&lease=’ and paste the ?donotcachepage=XXX1234XXXXX between / and &lease=
    To have something like:
    $html .= ‘<p>

    4- Save the file

    5- Reload your website page where you have your Download Code in it.
    Put again your download code. And try again to download.
    It should now work

    Basically we just said to WP Super Cache to ignore the links generated by WP Download Code.

    -> Dear dev, please tell me if it’s OK for you!

    Thank you!

    • This topic was modified 5 years, 3 months ago by Phll.
    • This topic was modified 5 years, 3 months ago by Phll.
    • This topic was modified 5 years, 3 months ago by Phll.
  • The topic ‘WP Supercache conflit (and fix)’ is closed to new replies.