The requested URL was not found on this server (Magento)

ε祈祈猫儿з 提交于 2019-12-06 10:34:59

It works for me.

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
TS Guhan

I tried many solutions to resolve this issue.

One thing I did was I removed the local.xml file from the app/etc directory and reinstalled Magento. While reinstalling, in the third step I checked the two check boxes. One is skip base url and the other for url rewrites.

Then it worked like charm.

I also got this problem when I was restoring a backup of the magento folder, The problem was that I copied the files with the wrong command:

cp -R /something/folder/* /folder

This command does recursive copying of all folder but ommits the files which start with ".", therefore the files which make a redirection like ".htaccess" where not copied.

Instead use:

cp -R /something/folder /folder
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!