You currently can't use an Alias Menu that points to and External URL type menu. This is an important feature since it allows you to use short URLs for long URLS which is a great for SEO and other reasons. For example you can use http://example.com/index.php/shortname instead of http://example.com/index.php/component/jak2filter/?Itemid=126&isc=1&category_id=1,14&xf_9=3&xf_12=7&xf_8=3.
Reproduction:
Create a Menu (EX) of type 'External URL' and put any URL link into the field (internal or external ). This menu does not have to be visible.
Create another menu (AL) of type Alias that points to the above menu (EX)
Selecting menu (AL) results in a 404 not found
Expected behavior is that it would go to the URL defined in EX.
Call stack
Function Location
1 JApplicationCms->execute() /Applications/MAMP/htdocs/Joomla_3.4.2-Stable-Full_Package/index.php:45
2 JApplicationSite->doExecute() /Applications/MAMP/htdocs/Joomla_3.4.2-Stable-Full_Package/libraries/cms/application/cms.php:252
3 JApplicationSite->dispatch() /Applications/MAMP/htdocs/Joomla_3.4.2-Stable-Full_Package/libraries/cms/application/site.php:230
4 JComponentHelper::renderComponent() /Applications/MAMP/htdocs/Joomla_3.4.2-Stable-Full_Package/libraries/cms/application/site.php:191
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7334.
Status | New | ⇒ | Confirmed |
it allows you to use short URLs for long URLS
Please clarify before I start a PR (that just would fix the 404 error by inheriting the URL in mod_menu).
I don't see how to use this for short URLS and SEO. That would be a router faeture request.
Thank you for your suggestion but it has been decided that this is not something that will be included in the core of Joomla.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-08 16:19:58 |
Closed_By | ⇒ | brianteeman |
I can confirm this
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7334.