Magento 重写令人头疼
只需要一点建议。我刚刚完成一个网站的构建,我在后端打开了 Web 服务器重写以摆脱 index.php
但是当我进入前端时它总是给我 404 错误
我似乎无法弄清楚......我还有什么需要做的吗?
干杯
Just need a bit of advice. i have just finish building a site, i have turned on the Web Server Rewrites in the backend to get rid of the index.php
But when i go to the frontend it keeps giving me 404 errors
I cant seem to figure it out ... Is there anything else i need to do?
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
启用 mod 重写日志记录,重新生成索引
Enable mod rewrite logging , regenerate your indexes
您可能忘记将某些操作系统上隐藏的 .htaccess 文件复制到您的 magento 文件夹中。这种情况在 Windows 或 Mac OS X 上很容易发生,因为当您标记所有文件并从目录内复制时,它们不会选择隐藏文件。但是当您复制整个目录时,它们会复制隐藏文件,这可以很好地解释为什么问题不会在管理方面蔓延。
You might have forgotten to copy the .htaccess file which is hidden on some operating systems to your magento Folder. This can easily happen on Windows or Mac OS X since they don't select hidden files when you mark all and copy from inside a directory. But they will copy hidden files when you copy whole directories, which may well explain why the issue doesn't creep up in the admin side of things.