WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite Permalinks after Update to 3.2 (17 posts)

  1. jeezyo
    Member
    Posted 3 years ago #

    After updating a multisite network to 3.2, all of the post permalinks were getting 404 errors. I manually went through, clicking save on all of the permalinks settings on each site, and everything seemed to be working after. Following that, i had to uninstall a plugin, events manager extended. I didnt do anything else, so i can only guess that recreated the problem, because now posts are again getting the 404 error. Im wondering if this is something i can resolve someplace like htaccess so i dont have the problem everytime i activate or deactivate a plugin, and, if there is a way to resave the permalinks across the network, so i dont have to keep manually doing it for 100+ sites. Thanks for any help!

  2. jeezyo
    Member
    Posted 3 years ago #

    a little further info....permalinks are set to use one of the defaults /%year%/%monthnum%/%day%/%postname%/ accross the network, but /%postname%/ on the main site. i just realized if i take the dates out of the url the posts do work. so its defaulting them to postname.

  3. Are you using subfolders or subdomains? I've had the loss of permalinks before, but it dovetailed into a caching drama.

  4. jeezyo
    Member
    Posted 3 years ago #

    its using subdomains. its very frustrating because there are so many sites!

  5. If you're using caching, turn it off. Make sure your .htaccess is correct, and turn off all your plugins.

  6. jeezyo
    Member
    Posted 3 years ago #

    i dont have any caching plugins installed.

    There is one difference in my htaccess, that i made to handle a custom signup form, a rewrite rule as you can see below, could that have anything to do with it?

    RewriteEngine On
    RewriteBase /
    RewriteRule ^wp-signup\.php(.*)$ wp-content/themes/hmba/wp-signup.php$1
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    I fear turning off all the plugins, because it seems that disabling a plugin may have caused this in the first place. Because i did do the manual permalinks save on each site and had them working.

    I could deal with it, if there were a way to update all the permalinks at once.

  7. You can try resaving permalinks again, but if that's NOT working, you're going to have to try sans plugins.

  8. jeezyo
    Member
    Posted 3 years ago #

    Oh, it does work. I did it on a few sites just to check. But with 100+ sites, i was just hoping there was another solution, so that i dont need to do this every time i enable/disable or upgrade. :-)

  9. There is a plugin that can reset 'em for all sites and ... I cannot find it. But it's mentioned in the forums.

    ETA! Je l'ai trouvé!

    http://wordpress.org/support/topic/404-errors-after-update-need-to-flush-rewrite-rules-network-wide?replies=31#post-1895882

  10. jeezyo
    Member
    Posted 3 years ago #

    thats exactly the sort of thing im looking for. i looked quite a bit before i posted here, but ill keep on looking now that i know it actually exists. thanks for your help!

  11. jeezyo
    Member
    Posted 3 years ago #

    Thanks you so much, thats awesome!

  12. jeezyo
    Member
    Posted 3 years ago #

    hmmm....unless im doing something wrong, its not working. i tried both version of their code. Pasted into a php file. Uploaded to mu-plugins. Logged into dashboard. Oh well, guess ill keep on hunting.

  13. if it's happening on all sites, there's gotta be a plugin flushing your rewrite rules on you. time to narrow it down once you've got the resaving done.

    and from the "been there" department... speeding thru opening new sites in a bunch of tabs then quickly hitting each one takes less time than it seems. especially if it takes more than an hour to find the code that works. :-/

  14. jeezyo
    Member
    Posted 3 years ago #

    Yeah, i *think* events manager extended might have been the culprit, because i know it does something to permalinks, and it was disabling that that created the problem the second time. In fact who knows, it might have been enabling that, and not upgrading, that created the problem the first time. Gonna take your advice, and just update them all manually again, instead of wasting more time looking for an automated way of doing it, and just hope it doesnt happen again :-)

  15. jameswilliams90
    Member
    Posted 3 years ago #

    I don't think it's your plugin, because I've got the same problem. All of my page navigation redirects.

    domain.com/page/2 redirects to domain.com/2/ causing a 404 error. It's happening on all my Multiuser sites where permalinks are turned on.

    Is there an unrecognised error.

  16. @James - actually your issue *is* different. ;)

    Please start a new thread.

Topic Closed

This topic has been closed to new replies.

About this Topic