Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题是,在我的OpenCart网站上,应该显示产品的页面改为显示主页。然而,这比它过去的做法更上一层楼,它只给出了我的404 错误。我也在使用我自己的域,但它位于一个文件夹中,即domain.com/store/ 感谢您的回答。
我认为产品没有很好地列出,产品页面中肯定有一些错误。
尝试更改产品数据,在您的数据库中或访问您的 OC 网站的管理面板。
最可能的原因是 SEO URL 重写,但默认情况下它不会使用common/home,除非您将其设置为这样做。检查文件.htaccess中 OpenCart 附带的匹配内容,.htaccess.txt并确保您RewriteBase的设置为/store/不/
common/home
.htaccess
.htaccess.txt
RewriteBase
/store/
/