Stephen
Stephen

Reputation: 717

Magento store codes redirect to 404

Magento 1.8.1, I set the store codes to represent each country and when I navigate to them using website.com/store/us I get a 404 error - all of my products are enabled and set to this store.

What may help is - this was working perfectly on another server, I recently uploaded the database into a fresh installation of Magento (both were the same version). Everything works except when I click the 'add to cart' button from the product list view it redirects to the default store code it gives me a 404 error.

All products seem to redirect to a 404 as well.

Upvotes: 1

Views: 609

Answers (1)

Stephen
Stephen

Reputation: 717

Found the issue. The new server didn't have the necessary folders from the last in the store root. (EG: us, uk, etc) These folders need to there with their own index.php & .htaccess.

Upvotes: 3

Related Questions