我正在使用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)
发布评论