404 errors after update. Need to flush rewrite rules network-wide (34 posts)

  1. Joerg
    Posted 5 years ago #

    I'd seems that the bug has been solved with the 3.0.5 version!

  2. mariusmandal
    Posted 4 years ago #

    I've been experiencing the same bug, and found that dscottS3s script did not solve my problem..

    I'm not sure if it is a correct way to do it, but I added the line
    between switch_to_blog and $wp_rewrite->flush_rules() and it seems to do the trick for me. I've been checking some of the sites, and they all seem to work.. :)

  3. Joerg
    Posted 4 years ago #

    where have you added this? folder & file?

    I still have the problem :-(

  4. mariusmandal
    Posted 4 years ago #

    I've added the file to my dropbox (and bit.ly'd it to keep track of downloads), you can find it here: http://bitly.com/mUT8Pr

    BEFORE YOU RUN AND INSTALL: Backup your database!! And this is not just something I'm saying. I have only tested this on my own database, so it might just as well corrupt your whole site, but for me it works perfectly, so I think it is okay :)

    The plugin will create a menu option in "Network Admin" under "Settings", where you can manually trig the update of all sites.

    If you'd like to run it every time someone logs on to the dashboard, follow instructions in the file (really simple). Note: this might increase your log on time seriously, so I'd recommend only running it on-demand.

Topic Closed

This topic has been closed to new replies.

About this Topic