opencart seo friendly url 仅适用于某些页面

opencart seo friendly url only works for some pages

我正在使用 opencart 进行我的第一个项目。 我在设置中激活了 seo friendly urls。有些页面如 about-us 没问题。但 seo 友好 urls 不适用于结帐、购物车、注册...页面。 例如 http://onelight.ir/about-us is ok, but http://onelight.ir/register 显示一个 404 页面,我必须使用长 url。 我检查了我的数据库。在 oc_url_alias table 上没有注册记录,但是 about-us 关键字有一行,query 的值为 information_id=4。 我检查了 catalog/controller/common 路径。如果有帮助,那里没有 seo_url.php 文件。 我的 opencart 版本:2.3.0.2

非常感谢您抽出时间,抱歉我的英语不好。

经过一番努力后,这就是它的工作原理: 我用了this answer and this link。但是 seo_url.php 文件在 catalog/controller/startup 目录中。