Magento URLs other than home page do not work without index.php

后端 未结 7 1512
梦如初夏
梦如初夏 2020-12-29 06:13

My magento is installed on Ubuntu Linux under /var/www/magento . This question looks like some of the questions in the archives but is acutally somewhat different. When I in

相关标签:
7条回答
  • 2020-12-29 06:52

    I had the same problem when transferring my live site into localhost. Finally i resolved it.

    I have windows OS. So i used WAMP stack for my localhost. I have spent lot of time to retrieve all the URL and its content in my localhost by changing .htaccess file,modifying core_config_data table in DB but everything went wrong.

    Finally i got a clue to enable rewrite_module in Apache server. 1. To enable it Click on the Wamp icon in the tray bar (WAMP->Apache->Apache modules-> and select rewrite_module). 2. Restart Wamp Server. 3. clear cache (optional i think) - Delete all the files in the var/cache folder

    Make Sure you have .htaccess file in your root folder lets assume(localhost/magento/.htaccess). If you don't have you will not get the result.

    Thats it.

    I hope now u will able to retrieve all other pages and URL other than home and also u will not get 404 error page.

    0 讨论(0)
提交回复
热议问题