• Resolved andcha

    (@andcha)


    The response always shows the following, but nothing gets flushed on any site in the network.

    Success: Everything flushed successfully.

    These are few of the CLI combinations I’ve tried so far..

    wp w3-total-cache flush all –url=’https://siteone.com/’
    wp w3-total-cache flush all –url=https://siteone.com/
    wp w3-total-cache flush all –url=siteone.com

    Note- also tried adding --url parameter after wp but no change

    wp –url=’https://siteone.com/’ w3-total-cache flush all –post_id=510
    wp –url=https://siteone.com/ w3-total-cache flush all –post_id=510

    wp –url=’https://siteone.com/’ w3-total-cache flush post –post_id=510
    wp –url=https://siteone.com/ w3-total-cache flush post –post_id=510

    wp w3-total-cache flush all –post_id=510
    wp w3-total-cache flush all –permalink=https://siteone.com/perma-link/
    wp w3-total-cache flush all

    Can anyone come up with a solution to make this work?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andcha

    Thank you for your inquiry and I am happy to assist you with this.
    You can check wp-CLI commands for W3 Total Cache in wp-content/plugins/w3-total-cache/Cli.php line 45-70
    I hope this helps!

    Thread Starter andcha

    (@andcha)

    I hope this helps!
    Sorry but it didn’t.

    1. I’ve already mentioned in second last line that the following code doesn’t work
    wp w3-total-cache flush all

    2. Some of the text in my original question got stripped
    For example
    -- was replaced with - and ' was replaced with &# 8217;

    So basically none of this works in Multisite

    • This reply was modified 5 years, 1 month ago by andcha.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andcha

    We are checking this and will reply back as soon as we investigate.
    Thank you!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andcha

    Thank you for your patience. We’ve created a Github issue in our public repository.
    We need to add blog=.. parameter for cases such as yours.
    Please make sure to check the progress of the issue regularly.
    Thank you!

    Thread Starter andcha

    (@andcha)

    Thanks for getting back promptly on this.

    We need to add blog=.. parameter for cases such as yours.
    Please make sure to check the progress of the issue regularly.

    Great, hope this feature is added soon.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP-CLI – W3 Commands on Multisite not working’ is closed to new replies.