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

Credit where Credit is Due:

Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: The information on this website is provided without warranty and any content is merely the opinion of the author. Please try to test in development environments prior to adapting them to your production environments. The articles are written in good faith and, at the time of print, are working examples used in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman

Related Articles

Joes Revolver Map

Joes Word Cloud

caused   select   created   match   where   browse   temporary   create   generate   deleting   accounted   path   used   joomla   instead   about   column   save   remove   alias   value   panel   another   change   admin   using   page   existing   prefix   same   ensure   about%   database   also   table   warning   already   menu   login   well   step   failed   term   give   them   values   root   item   items   similar   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 bc1qjtp4l4ra452wzvuk9a45yfj82zkahsyy2z379y
© 2022 Joel Lipman .com. All Rights Reserved.