Skip to main content

Direct Alias

Allows you to control menu item alias and have short SEF URLs without including aliases of parent menu items.

Joomla native routing is not quite robust and you can't control how the SEF URL of menu item is built. You can only define menu item alias - a component of URL.

By default aliases of Joomla menu items are relative: aliases of all parent menu items are auto-prepended to SEF URL.

So child menu items have URLs like:

http://site.com/parent-menu-item-alias/child-menu-item-alias

This plugin allows you to switch alias to 'direct' mode and have short URL without aliases of parent menu items:

http://site.com/child-menu-item-alias

E.g. this page has URL https://alterbrains.com/direct-alias instead of https://alterbrains.com/joomla-extensions/seo/direct-alias.

Another option is not include alias of certain menu item into SEF URL of child items.

Check Direct Alias Pro for more SEO options.

Extension information

Compatibility:

5.x maintained

4.x maintained

3.x not maintained

Type:
Non-commercial
License:
GNU GPL
JED:
click here
See also:
Direct Alias Pro
Translations:
click here

  Download

  • Simple code, works fast.
  • Display and highlight of menu item in menu modules is preserved.
  • Easy installation: just install and publish 'System - Direct Alias' plugin.
  • Works with Falang except menu items alias translations in 'FaLang Language Switcher' module.

Want a new feature? Why not? Please Contact Us!

  • Joomla 4.4 or higher.
  • PHP 8.1 or higher, mb_string extension.
  • Edit of other custom extensions which load Joomla routers directly can be required (note that Joomla auto-loads component routers and they should not be included directly).
  • Incompatible with Gantry5 templates, RokNavMenu module (they use none-native Joomla code).
  • Using Falang? It works! Falang database driver plugin should be ordered before this plugin under 'system' plugins group.

27 Dec 2023 -  ver. 3.1.3:

  • Fix: issues with non-inherited routes in child menu items.

22 Dec 2023 -  ver. 3.1.2:

  • Fix: issues with non-inherited routes in child menu items.

02 Dec 2023 - ver. 3.1.1:

  • Fix: Joomla 4.4.1 and 5.0.1 language issue.
  • Fix: grandchildren of menu items with a "not inherited" alias (absent) did not receive an updated route path (many thanks to Friedemann).

18 Oct 2023 - ver. 3.1.0:

  • Feature: Joomla 5 compatibility.
  • Change: PHP 8.1 as min.

17 Aug 2023 - ver. 3.0.1:

  • Fix: issue with same-alias menu items in multilingual mode.
  • Note: if you see an error after install, please install the package one more time, nothing serious.

11 Jul 2023 - ver. 3.0.0:

  • Change: Joomla 3 support dropped.
  • Change: PHP 8.0 as min.

16 Feb 2022 - ver. 2.2.0:

  • Fix: Joomla 4 compatibility.

08 September 2020 - ver. 2.1.0:

  • Feature: Joomla 4 compatibility.

09 January 2019 - ver. 2.0.0:

  • Fix: Falang compatibility.
  • Feature: new setting 'Shorten All URLs' allows to remove all parent aliases for all menu items.
  • Change: Joomla 2.5 compatibility dropped, Joomla 4 compatibility added.

01 January 2015 - ver. 1.2.0:

  • Feature: improved performance for large menus.

24 April 2014 - ver. 1.1.0:

  • Feature: ability to setup alias to be not inherited by child menu items.

16 May 2013 - ver. 1.0.1

  • Fixed issue with aliases in multilingual sites.

01 Apr 2013 - ver.1.0.0