从本地服务器到实时Web服务器,链接不起作用[Magento] [英] From local server to live web server, links not working [Magento]

查看:87
本文介绍了从本地服务器到实时Web服务器,链接不起作用[Magento]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照步骤上传了本地magen以安装我的实时网络服务器.

I've followed this steps to upload my local magento install my live web server.

现在,首页可以正常运行,但是首页上的每个链接都将您定向到404找不到错误.甚至无法访问"/admin".

Now, the homepage is working fine but every link on it directs you to a 404 not found error. Can't even access "/admin".

我认为这是基本URL的问题,但我已经对数据库进行了双重检查,并且已将它们正确设置为"path:web/unsecure/base_url""value:

I assume this is a problem with the base URL but I've double checked on the database and they're correctly set at "path: web/unsecure/base_url" "value: http://www.mysite.com/"

有人知道为什么会这样吗?

Anyone got any idea why this is happening?

推荐答案

您是否已将.htaccess文件复制到重写规则所在的服务器上?如果.htaccess和mod_rewrite规则被禁用,那么您可以通过index.php/admin/

have you copied the .htaccess file to your server where the rewrite rules are? If .htaccess and mod_rewrite rules are disabled then you can access your admin page via index.php/admin/

这篇关于从本地服务器到实时Web服务器,链接不起作用[Magento]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆