Joomla中别名属性的解释 [英] Explanation of alias attribute in Joomla

查看:10
本文介绍了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

相关问题

推荐答案

别名值用于为页面创建漂亮的 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.

那些别名值用于创建URL(如果您在您的全局配置实用程序.)

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天全站免登陆