Looking for a JavaEE Architect or Potential Tech Co-Founder?
Please don't hesitate to contact me.

Magento all links throws 404 Not Found error

After downloading and installing magento 1.7.4 for evaluation, I found out that by default all the frontend links are not working. But the backend works fine.

As I remember long time ago this is a problem when deploying locally and using a virtual address, example http://localhost/magento, because by default magento rewrites to "/". So open up /.htaccess uncomment and change:

//I installed magento in /var/www/magento
RewriteBase / -> RewriteBase /magento

And then allow overrides in magento folder recursively, this can be achieve by editing the file /etc/apache2/sites-enabled/000-default and add this lines before
<Directory /var/www/magento>
  AllowOverride All
</Directory>
Magento all links throws 404 Not Found error Magento all links throws 404 Not Found error Reviewed by Edward Legaspi on Friday, October 26, 2012 Rating: 5

No comments:

Powered by Blogger.