我需要更新现有的EE 1.6.8网站,但我似乎找不到该版本的任何文档。我将实时网站复制到开发服务器上,我遇到了麻烦。主页工作正常,但所有其他页面都已损坏。
mysite.org - 作品
mysite.org/about-us/ - 无效
如何生成网址?我找不到.htaccess。有没有地方可以创建路线?
任何方向都会受到赞赏。感谢。
答案 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。