[wp-trac] [WordPress Trac] #16201: when updating a multisite blog subblogs getting 404 error
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 19 10:33:23 UTC 2011
#16201: when updating a multisite blog subblogs getting 404 error
-------------------------------+------------------------------
Reporter: YogieAnamCara | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version:
Severity: critical | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Changes (by mariusmandal):
* cc: mariusmandal (added)
Comment:
I've been experiencing the same bug in a clean install WP 3.2.1
My sites have been created using the create_empty blog() running in loop.
For some reason, the rewrite rules of subpages contain the same structure
as the main blog (starting with blog/). After applying a bug-fix, the
problem is, at least so far, gone for good.
I've used several tricks, all of which fixes the bug:
- updating permalink settings of all subpages
- manually modified the rewrite_rules in the database (get_option,
serialize, str_replace removing 'blog/', unserialize, update option)
- running the script at http://pastie.org/1485455 (and adding the line
$wp_rewrites->init(); before flushing
For me it seems that the problem might be within using the
create_empty_blog (in a loop).
It might have something to do with the bug (and/or fix) of loop-creating,
ref: Ticket #12028
Hope this could help someone finding the bug, and please tell if I could
help in any way! That said I'm a WP-noob, but love to help ;)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16201#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list