Warning: Save failed. Another menu item has the same alias

A quick article for Joomla CMS version 3.x on resolving a menu item alias conflict:
Menu Item has the same alias
Save failed with the following error. Another menu item has the same alias in Root. Root is the top level parent

You will need:
  • Access to the Joomla Administration Panel (to check for and remove expired menu items)
  • A good database administrator who is comfortable with making changes to the database

We have a page describing the company that we would want entitled "about" or "about-us" but these were already created along the way and then deleted. The system is still storing the offending menu items somewhere.

The fix that I use involves a change to #__menu table in the database for that website. The example used here will be to create an about-us page but I already have two items using the alias "about" and "about-us":
  1. Login to the Joomla Admin Panel and ensure any similar menu items are accounted for. Remove them if they are not used.
  2. Create the menu item that caused the warning but give it a temporary alias (eg. for "about" give it the alias "about_new")
  3. Login to your database and browse to the #__menu table
  4. Search for any values in the `alias` column that match the term (eg. for "about" do SELECT * FROM #__menu WHERE alias LIKE '%about%' where #_ is the table prefix)
  5. Instead of deleting, I change the existing menu item alias from "about-us" to "about-us2" as well as any similar `path` value.
  6. Change the item you created in step #2 (eg. "about_new" to "about-us"), also change the "path" value to match as this will generate your URL.
  7. Done

Related Articles

Joes Revolver Map

Joes Word Cloud

used   about   same   about%   existing   database   menu   save   them   term   item   already   step   items   accounted   alias   joomla   column   ensure   browse   warning   change   match   login   prefix   another   values   create   well   similar   page   root   select   admin   also   where   temporary   failed   using   generate   path   created   give   value   caused   remove   deleting   instead   panel   table   JoelLipman.Com


Badge - Certified Zoho Creator Associate
Badge - Certified Zoho Creator Associate

Donate & Support

If you like my content, and would like to support this sharing site, feel free to donate using a method below:

Donate to Joel Lipman via PayPal

Donate to Joel Lipman with Bitcoin - Valid till 8 May 2022 3QnhmaBX7LQSRsC9hh6Je9rGQKEGNQNfPb
© 2021 Joel Lipman .com. All Rights Reserved.