Joomla中别名属性的说明 [英] Explanation of alias attribute in Joomla

查看:111
本文介绍了Joomla中别名属性的说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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:

您所说的别名 与部分",类别"或文章"一起使用 还有菜单别名 物品.这种别名与 每个对象的名称.什么时候 您为文章命名,例如,您 可以让Joomla!自动创建 别名.什么Joomla!确实是使用 与您输入的名称相同的值 对于本条,除所有 空格和特殊字符是 删除并用破折号代替.

The Alias you are speaking of goes with the Section, Category, or Article and there is also an Alias for Menu Item. That kind of Alias goes with the Name of each of those objects. When you name an Article, for example, you can let Joomla! automatically create the Alias. What Joomla! does is use the same value as the name you entered for the Article, except all of the spaces and special characters are removed and replaced with a dash.

这些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中别名属性的说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆