[wp-trac] [WordPress Trac] #14970: 3.1-alpha Network Options page results in 404 error on "Save Changes"

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 26 21:25:50 UTC 2010

#14970: 3.1-alpha Network Options page results in 404 error on "Save Changes"
 Reporter:  moose123      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.1            
 Severity:  normal        |    Keywords:                 

 - Running 3.1 alpha trunk version w/ Network enabled.[[BR]]
 - Server: RedHat Linux, Apache/2.2.3 (CentOS).[[BR]]


 Logged in as Site Admin, on the Network Admin > Network Options page. When
 I save my changes, it redirects to a Page Not found page. So this page:


 sends me to a 404 when I save changes with the error:

 "The requested URL /wp-admin/settings.php was not found on this server."

 This is confusing because the form action code looks correct:

 <form method="post" action="edit.php?action=siteoptions">
 <input type="hidden" id="_wpnonce" name="_wpnonce" value="a6d4643888" />
 <input type="hidden" name="_wp_http_referer" value="/wp-
 admin/network/settings.php" />

 - Have reproduced it in Firefox, Safari and IE on Windows and FireFox on
 - All other admin functions working great.[[BR]]
 - I have disabled my two plugins and am running the default theme but
 still getting the 404 page when I save changes to network options.[[BR]]

 Per the network config page, my wp-config.php and .htaccess code is set up
 as such:

 define( 'MULTISITE', true );
 define( 'SUBDOMAIN_INSTALL', false );
 $base = '/';
 define( 'DOMAIN_CURRENT_SITE', 'wp.mysite.com' );
 define( 'PATH_CURRENT_SITE', '/' );
 define( 'SITE_ID_CURRENT_SITE', 1 );
 define( 'BLOG_ID_CURRENT_SITE', 1 );

 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]

 # uploaded files
 RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2

 # add a trailing slash to /wp-admin
 RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^ - [L]
 RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
 RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
 RewriteRule . index.php [L]

 Please let me know if any more information is needed.

 Thanks very much for any help.

Ticket URL: <http://core.trac.wordpress.org/ticket/14970>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list