1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Issue WP-Toolkit update broke permalinks

Discussion in 'Plesk Extensions' started by VirtualCed, Dec 6, 2017.

  1. VirtualCed

    VirtualCed New Pleskian

    4
    20%
    Joined:
    May 16, 2016
    Messages:
    10
    Likes Received:
    0
    At least with the plugins installed on my websites, after months of investigation, it's now clear after a wp-toolkit plugins/themes upgrade, lots of sites have the permalinks broken.
    To fix it, I have to save the permalink structure.
    I can either do it on each site but just found I can solve it in command-line with

    plesk ext wp-toolkit --wp-cli -instance-id 3 -- rewrite flush

    I'm looking for an easy way to do this on every wp instance.

    I know I can list the instances using

    plesk ext wp-toolkit --list

    I guess it should be doing in a script, displaying each instance number (awk or cut), then making a loop (for each) but I'd like to know if there is a solution to make this look easily ?

    I need to do something like

    for each wpinstance, do plesk ext wp-toolkit --wp-cli -instance-id $wpinstance -- rewrite flush ;done

    Any suggestion ?
     
  2. Aleksander Prikhozhdenko

    Aleksander Prikhozhdenko New Pleskian Staff Member

    5
     
    Joined:
    Feb 7, 2017
    Messages:
    21
    Likes Received:
    8
    Location:
    Russia
    Hello,
    Could you please provide more details? Which plugins/themes do you upgrade? What do you mean "permalinks broken"?
     
Loading...