问题描述
在Joomla中使用的菜单项的别名属性到底是什么?特别是它们是否适合唯一标识页面?
What exactly is the alias attribute of menu items used for in Joomla? In particular, are they suitable for uniquely identifying pages?
更新:我刚刚意识到文章也具有别名.我认为文章别名会更有用
Update: I just realised that articles have alias' as well. I think that article alias' will be more useful
相关问题
- 这是此问题的后续行动.
- This is a followup of this question.
推荐答案
别名值用于为页面创建漂亮的URL.此处有解释:
Alias values are used to create nice URLs for pages. There is an explanation here:
这些Alias值用于创建 网址(如果您在中激活SEF网址 您的全局配置实用程序.)
Those Alias values are used to create URLs (if you activate the SEF URLs in your Global Configuration Utility.)
URL的创建方式与 您选择的菜单类型.为 文章布局菜单类型,您的URL 将 http://example.com/menu-alias.html
How the URL is created has to do with the Menu Type you selected. For an Article Layout Menu Type, your URL will be http://example.com/menu-alias.html
别名对于唯一标识符似乎不是最佳解决方案,因为在足够大的站点上,多个文档可能希望使用相同的别名.不过,在一个小型网站上,他们可以达到这个目的.
Alias' don't appear to be the best solution for a unique identifier as on a large enough site multiple documents might want to use the same alias. On a small site though, they can serve this purpose.
这篇关于Joomla中别名属性的说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!