继续检查不工作-magento
当我单击“继续”进行签出时,我收到错误信息继续检查不工作-magento,magento,url,checkout,magento-1.8,Magento,Url,Checkout,Magento 1.8,当我单击“继续”进行签出时,我收到错误信息 The requested URL /customer/account/login/ was not found on this server. 但当我手动修改url时,如下所示 mydomain.com/index.php/customer/account/login 它工作正常 甚至当我单击主页中的Login链接时,它也会使用index.php加载到正确的url 我尝试过打开和关闭url重写。我哪里做错了 我正在使用magento 1.8版您
The requested URL /customer/account/login/ was not found on this server.
但当我手动修改url时,如下所示
mydomain.com/index.php/customer/account/login
它工作正常
甚至当我单击主页中的Login
链接时,它也会使用index.php加载到正确的url
我尝试过打开和关闭url重写。我哪里做错了
我正在使用magento 1.8版您可以按照以下步骤操作 然后使用以下步骤 1) 使用URL登录到管理部分
http://domain.com/index.php/admin
2) 然后转到系统>>配置>>网络>>搜索引擎优化
使用Web服务器重写:是
3) 转到系统>>配置>>网络>>安全
使用安全URL前端:是
4) 然后在magento installed文件夹下创建.htaccess文件。
如果magento安装在文档根目录下(/home/username/public_html),则将以下规则添加到.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>
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
如果magento安装在/shop或directory下,则将以下规则添加到“/home/username/public_html/shop/.htaccess”文件中
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /shop/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /shop/index.php [L]
</IfModule>
重新启动发动机
基地/商店/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/shop/index.php[L]
希望这一定会对您有所帮助。我认为问题在于您的url设置。试试下面的配置 =>登录到管理员并进入
系统->配置
=>从左上角的下拉选项中为您的站点选择适当的配置范围
=>现在转到secure
部分,将基本链接Url
设置为https://yourdomain.com/index.php
假设安全部分中的基本url为https://localhost/magento
然后需要将基本链接Url
设置为https://localhost/magento/index.php
=>清除缓存
请重试在服务器上启用apache重写模块并重新启动它。它不起作用。现在,除了我的主页之外,我的所有页面都显示了错误。是否清除了缓存?确保所有步骤都正确执行?它应该会起作用。还有一件更重要的事情是您的服务器配置启用重写模块。我确实清除了缓存,并遵循了所有步骤。当我给出以下sudo a2enmod rewrite
时。我收到消息“模块重写已启用”
。是的,我取消了所有更改。请再次清除缓存并通过直接链接检查登录页面