[Plugin: Admin Menu Editor] Produces wrong URL for moved items
-
I have encountered this problem before…never found a solution. Perhaps someone else has?
When moving menu items around in Admin Menu Editor, often the URL for accessing that page gets changed so that clicking the menu item results in a 404 error. Here is a specific example I am currently dealing with:
I have the plugin “Smallerik FiB” installed. It creates its own Top Level menu item to contain all its settings pages. Using Admin Menu Editor I want to move all those settings pages into the “Settings” menu, then hide the “Smallerik FiB” menu.
When you click on, for example, the display options page that exists within the Smallerik FiB menu, the URL looks like this:
www.mysite.com/wp-admin/admin.php?page=wpfib-submenu-display
In the Admin Menu Editor panel for the top level Smallerik menu, it shows the URL as “wpfib-menu”. And the Display Options submenu URL is shown to be “wpfib-submenu-display”.
Now, when you move the Display Options menu into the Settings menu and click on it, the URL it tries to go to is:
www.mysite.com/wp-admin/wpfib-menu?page=wpfib-submenu-display
This produces a 404 error, since the page in question should have, before the ?, admin.php instead of wpfib-menu.
I have tried changing the URLs displayed in Admin Menu editor to reflect the full URL including the admin.php but that doesn’t work. I have also tried changing the URL of the Root menu from wpfib-menu to admin.php, which also causes problems.
Does anyone know of a way to alter the portion of the URL that comes before the “?” in Admin menu editor menu items that have been moved?
Any help or advice is appreciated. Thank you.
- The topic ‘[Plugin: Admin Menu Editor] Produces wrong URL for moved items’ is closed to new replies.