Remove date and time from Joomla Menu link URL

Was making changes to one of my Joomla websites' menu system when bumped into a strange issue.

There were types of menu systems, both two levels deep. First menu level in both cases level External URL

  1. index.php/category/subcategory
    Links to Category List layout
  2. index.php/category/article
    Links to Single Article

With first type of menus everything was fine, however, second (linking to single articles) was producing links in format:
index.php/date_time/article i.e. index.php/2012-08-01-14-25-15/article

Checked and doubled checked all aliases for menu items and categories and none of them had any text in aliases.
After some testing and experimenting found where the problem was.

External URL type menu items don't have visible aliases as such. However, it seems that Joomla actually does create aliases for such items.

Let's take an example: Create and save a new External URL type menu item. It will look something like this:

Joomla - External URL menu item

Now try changing Menu Item Type to Text Separator, save changes and see what happens:

Joomla - Text Separator menu item

Alias field now has date and time from when original External URL type menu item was created. It was actually always there, simply not visible.

Understanding above, solution to the problem is pretty simple: Temporary change menu item type to Text Separator, modify alias to your liking and change type back to External URL.

Joomla 2.5

Comments  

guy
# guy 2015-08-29 03:38
This worked, thanks!!
Arvind Sah
# Arvind Sah 2015-01-09 03:53
Thank You very much.
ckubs
# ckubs 2014-12-29 19:05
Dude, gods be with you :) That problem was killing me untill I found your article and fixed everything. Thank you.
annemiek
# annemiek 2014-11-20 10:44
Thanks big help! :-)
Andy
# Andy 2014-10-21 12:11
It's working even on Joomla 3.3.6 Thank you :-)
Sketchy Bennett
# Sketchy Bennett 2014-06-06 10:05
Works great, good job on working that out
Albert van Dalen
# Albert van Dalen 2013-12-29 19:31
Thanks, it's a Joomla 3 bug. I hope this bug is solved soon...
OniBeloni
# OniBeloni 2013-11-07 12:28
Thanks a lot. :D
BT Web
# BT Web 2013-10-13 13:28
This worked for me.
Tushar
+3 # Tushar 2013-08-16 11:08
Thanks a lot dear,
Its working completely fine.
Jean
# Jean 2013-04-03 14:29
Thanks Bro... Fully functional
Shamim
-2 # Shamim 2013-02-01 16:23
Nope ...Its not working sir...
Jean
+1 # Jean 2013-04-03 14:31
Quoting Shamim:
Nope ...Its not working sir...


You have change the node father to text separator not the child. test again
charles
-2 # charles 2012-11-09 06:25
not working, this issue is killing mr

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait