Expression Engine v1.6.8中处理的路由在哪里

时间:2012-08-10 16:42:17

标签: routes expressionengine

我需要更新现有的EE 1.6.8网站,但我似乎找不到该版本的任何文档。我将实时网站复制到开发服务器上,我遇到了麻烦。主页工作正常,但所有其他页面都已损坏。

mysite.org - 作品

mysite.org/about-us/ - 无效

如何生成网址?我找不到.htaccess。有没有地方可以创建路线?

任何方向都会受到赞赏。感谢。

1 个答案:

答案 0 :(得分:1)

Sean - EE的路线基于模板组和模板。因此/news会在index模板组中加载news模板。 news/entry/my-great-news-entry会使用url_title模板组中的my-great-news-entry模板加载entry news条目。

Here's the documentation from the 1.x docs.

如果您使用Pages module(允许您指定每个条目的完整网址)或Structure module,则会出现例外情况。

请注意,开箱即用,EE在路径中需要/ index.php/。您可以重命名它,或使用一些.htaccess - see this SO answer for that syntax