Joomla URL:一篇文章本身没有漂亮的 URL? [英] Joomla URLs: An article doesn't have a pretty URL by itself?

查看:22
本文介绍了Joomla URL:一篇文章本身没有漂亮的 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Joomla (1.5) 的新手,我正在尝试澄清 Joomla 处理 URL 的方式.

I'm new to Joomla (1.5), and I'm trying to clarify something about the way Joomla handles URLs.

我已经激活了他们所谓的搜索引擎友好 URL".但似乎一个页面(或文章"只有在我从菜单链接到它时才会获得这样的 URL.

I've activated what they call "Search Engine Friendly URLs". But it appears that a page (or an "Article" only gets such a URL once I link to it from a menu.

漂亮(无参数)URL 真的只在我从菜单链接到页面后才分配给页面吗?

Are pretty (parameter-less) URLs really only assigned to pages once I link to them from a menu?

我知道我可以为文章指定别名,但它们似乎没有任何作用.文章的 URL 似乎由链接到它的菜单项的别名定义.

I know I can assign Aliases to articles, but they don't seem to do anything. An article's URL seems to be defined by the alias of a menu item that links to it.

这是否正确,如果正确,我如何链接到页面而不将它们列在菜单中(例如,从另一个页面中).

Is this correct, and if so, how do I link to pages without listing them in a menu (e.g. from within another page).

谢谢

汉斯

推荐答案

更新:情况似乎确实如此.为什么有人会以这种方式设计 CMS 超出了我的理解,但我的猜测是它具有历史意义(过去只有参数样式的 URL,然后在某些时候使用了漂亮的 URL).

Update: This really seems to be the case. Why on earth anyone would design a CMS in such a way is beyond me, but my guess is that it's historic (there used to be only parameter-style URLs, and then pretty URLs were slapped on at some point).

这对我来说通常是一个交易破坏者.一个页面不应该有一堆不同的 URL.

This would normally be a dealbreaker for me. A page shouldn't have a bunch of different URLs.

但我找到了一种解决方法.这是一个名为 sh404SEF 的扩展(http://extensions.joomla.org/extensions/2380/details).它重写了网站上的所有 URL,实际上非常聪明.

But I found one way around this. It's an extension called sh404SEF (http://extensions.joomla.org/extensions/2380/details). It rewrites all URLs on the site and is actually pretty smart about it.

这篇关于Joomla URL:一篇文章本身没有漂亮的 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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