在此服务器上找不到请求的URL(Magento)

编程入门 行业动态 更新时间:2024-10-21 05:35:36
本文介绍了在此服务器上找不到请求的URL(Magento)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Magento版本7.我已使用相同的URL更改了我网站的服务器.

I am using Magento ver 7. I have changed the server of my website with the same URL.

因此,我从旧服务器导出数据库,并将同一数据库导入新服务器.除此之外,我还将所有文件上传到了新服务器.

So, I export the database from old server and Imported the same database to new server. Apart from this I have also uploaded all the files to the new server.

我还更改了/public_html/app/etc/local.xml文件中的数据库凭据.

I have also changed the database credentials in the /public_html/app/etc/local.xml file.

但是现在当我打开URL时,它显示一个错误:未找到,在此服务器上未找到所请求的URL/index.php/."

But now when I am open the URL, it shows an error that "Not Found, The requested URL /index.php/ was not found on this server."

我不知道为什么会这样.

I don't know why this is happening.

推荐答案

它对我有用.

从magento管理员配置> web>中关闭URL重写 引擎优化>使用Web服务器重写>否

turn off url rewriting from magento admin configuration>web> Search Engines Optimization > Use Web Server Rewrites > No

RewriteEngine comment this line in In your .htaccess in the root of your installation

更多推荐

在此服务器上找不到请求的URL(Magento)

本文发布于:2023-10-31 15:55:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1546563.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:在此   找不到   器上   Magento   URL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!