#21029 closed defect (bug) (invalid)
404 error when trying to edit a menu
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4 |
Component: | Menus | Keywords: | |
Focuses: | Cc: |
Description
Since upgrading to 3.4, when I try to edit a menu that is not the first one to appear on the screen (i.e., I click on the tab of the menu I want to edit), I am presented with a 404 error. Tried saving permalinks, but no good.
URL trying to reach to edit menu is http://www.doitwithwp.com/wp-admin/nav-menus.php?action=edit&menu=379
Change History (3)
#2
@
13 years ago
- Resolution set to invalid
- Status changed from new to closed
You're right. Sorry for the false alarm.
The Perishable Press 5G blacklist firewall uses the following command:
# 5G:[QUERY STRINGS] <ifModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (environ|localhost|mosconfig|scanner) [NC,OR] RewriteCond %{QUERY_STRING} (menu|mod|path|tag)\=\.?/? [NC,OR] RewriteRule .* - [F] </ifModule>
Removing the menu element fixed the issue.
Thanks for the insight.
Note: See
TracTickets for help on using
tickets.
This is some sort of server configuration issue. Very simply, wp-admin/nav-menus.php is a file that should definitely be getting the request here. Something is preventing '&menu=' from allowing Apache to pass that directly to wp-admin/nav-menus.php, and instead what is happening is it is falling through and reaching index.php. Do you have any custom .htaccess rules?
You may wish to try the support forums: http://wordpress.org/support/.