From Joomla! Documentation
Sep 22, 2020 Setting an article's alias in Joomla 3.0: Log into your Joomla 3.0 dashboard In the top menu, click Content and then click Article Manager. In the list of articles, click on the title of the article that you would like to change the alias for.
Simply by adding the menu alias to one of Joomla's existing CSS hooks using template overrides and a bit of PHP trickery. Let's say you want to add some special CSS styles to the right module position when on certain page. You need to add the following code for example to template's main index file. Browse other questions tagged joomla-3.x alias or ask your own question. The Overflow Blog Level Up: Creative Coding with p5.js – part 7. A technical deep dive on unified search. Upcoming Events 2021 Community Moderator Election. Featured on Meta New onboarding for review queues.
- I'm writing my own component for Joomla 1.5. I'm trying to figure out how to generate an 'alias' (friendly URL slug) for the content I add. In other words, if the title is 'The article title', Joomla would use the-article-title by default (you can edit it if you like). Is there a built-in Joomla function that will do this for me?
- To create a new Alias Menu Item: Select Menus → name of the menu from the drop-down menu on the back-end of your Joomla! Installation (for example, Menus → Main Menu). Click the New Toolbar button to create a new menu item. Click the Menu Item Type Select button and then click the Menu Item Alias link under System Links.
- 4Details
- 4.1Details Tab
How To Access
To create a new Alias Menu Item:
- Select Menus→[name of the menu] from the drop-down menu on the back-end of your Joomla! installation (for example, Menus→Main Menu).
- Click the New Toolbar button to create a new menu item.
- Click the Menu Item Type Select button and then click the Menu Item Alias link under System Links.
To edit an existing Menu Item Alias, click its Title in Menu Manager: Menu Items.
Description
Used to create a link from one Menu Item to another Menu Item. This link can be to another Menu's, Menu Item or within the same Menu. See Quick Tips for use.
Screenshot
Details
Details Tab
Required
These are the required settings:
- Menu Title: The title that will display for this menu item.
- Menu Item Type: The Menu Item Type selected when this menu item was created. This can be one of the core menu item types or a menu item type provided by an installed extension.
- Menu Item. Select a Menu Item name to point Alias Menu Item name at. The drop down list is sectioned by Menu Names, with a list of Menu Item names under each Menu Name.
- 4Details
- 4.1Details Tab
How To Access
To create a new Alias Menu Item:
- Select Menus→[name of the menu] from the drop-down menu on the back-end of your Joomla! installation (for example, Menus→Main Menu).
- Click the New Toolbar button to create a new menu item.
- Click the Menu Item Type Select button and then click the Menu Item Alias link under System Links.
To edit an existing Menu Item Alias, click its Title in Menu Manager: Menu Items.
Description
Used to create a link from one Menu Item to another Menu Item. This link can be to another Menu's, Menu Item or within the same Menu. See Quick Tips for use.
Screenshot
Details
Details Tab
Required
These are the required settings:
- Menu Title: The title that will display for this menu item.
- Menu Item Type: The Menu Item Type selected when this menu item was created. This can be one of the core menu item types or a menu item type provided by an installed extension.
- Menu Item. Select a Menu Item name to point Alias Menu Item name at. The drop down list is sectioned by Menu Names, with a list of Menu Item names under each Menu Name.
Joomla Alias Page
- Menu. Shows which menu the link will appear in.
Notable Settings
Leave the Alias blank if the Menu Item Alias has the same Parent (in the same Menu Name).
- Alias. The internal name of the item, also used in the URL when SEF is activated. Normally, you can leave this blank and Joomla! will fill in a default value. The default value is the Title or Name in lower case and with dashes instead of spaces. You may enter the Alias manually. The Alias should consist of lowercase letters and hyphens (-). No blank spaces or underscores are allowed. Non-Latin characters can be allowed in the alias if you set the Unicode Aliases option to Yes in Global Configuration. If this option is set to No and the title includes non-Latin characters, the Alias will default to the current date and time (for example '2012-12-31-17-54-38').
Common Options
See Menu Item Manager: Edit/New Menu Item for help on fields common to all Menu Item types which includes:
Module Assignments Tab
See Menu Item Manager: New Menu Item for help on fields in Module Assignments for this Menu Item.
Quick Tips
- Leave the alias field empty if the menu item alias and the menu item linked to by the alias have the same parent.
- A Main Menu Item Alias could link to an Article Menu's 'Some Menu Type' Menu Item. By using Module Assignments, a possible use would be to replace the Main Menu with the Article Menu when the Alias Menu Item is clicked. A return to Main Menu when another Alias Menu Item is clicked pointed back to a Menu Item in the Main Menu.
Toolbar
At the top left you will see the toolbar:
The functions are:
- Save. Saves the menu item and stays in the current screen.
- Save & Close. Saves the menu item and closes the current screen.
- Save & New. Saves the menu item and keeps the editing screen open and ready to create another menu item.
- Cancel. Closes the current screen and returns to the previous screen without saving any modifications you may have made.
- Help. Opens this help screen.
Joomla Menu Alias Not Working
Aliases are short pieces of text that represent the title of certain items (Menu items, Articles and Categories) in a machine-friendly format. This format allows only lowercase letters and dashes (-).
Aliases are used by Joomla to make Search Engine Friendly URLs. There are technical limitations to the types of characters that can be included in URLs, so Joomla prevents problems with invalid characters by allowing you to specify an alias.
You can fill in an alias yourself. If you leave the alias field empty, Joomla will automatically create an alias from the Title field of an item when it is saved. This means that if you edit the title of an item, but you leave the old alias in its field, the alias (and the URL that is created from it) will not change. Empty the alias field if you want generate a new alias.
Joomla Alias Url
Reference: http://docs.joomla.org/Glossary