Magento-Currency-404未找到-在此服务器上未找到请求的URL/目录/货币/开关/货币/美元/
最近我买了theme,现在我在货币方面遇到了麻烦 当我转换货币时,我得到这样的信息:Magento-Currency-404未找到-在此服务器上未找到请求的URL/目录/货币/开关/货币/美元/,magento,url,http-status-code-404,currency,Magento,Url,Http Status Code 404,Currency,最近我买了theme,现在我在货币方面遇到了麻烦 当我转换货币时,我得到这样的信息: The requested URL /directory/currency/switch/currency/USD/uenc/aHR0cDovL3ZvdmFuLm5pY2t3bGtlci5jb20v/ was not found on this server. 但如果我回去,我会看到货币发生变化 如何防止此错误?我找到了解决方案 我需要从magento中的url中删除index.php 我做到了: 1系统>>
The requested URL /directory/currency/switch/currency/USD/uenc/aHR0cDovL3ZvdmFuLm5pY2t3bGtlci5jb20v/ was not found on this server.
但如果我回去,我会看到货币发生变化
如何防止此错误?我找到了解决方案
我需要从magento中的url中删除index.php
我做到了:
1系统>>配置>>网络>>搜索引擎优化>>使用网络服务器重写:是
2系统>>配置>>网络>>安全>>使用安全URL前端:是
3然后在my magento installed文件夹下创建.htaccess文件,其中包含:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
感谢您尝试帮助我。我只能看到它有效。如果您将货币从卢布更改为美元,您将看到错误。