1

After moving to a new server with plesk, I get a 404 not found when i press add to cart. I am not sure why. I truncated the core_url_rewrite table, deleted everything in var/cache and var/session before moving the site.

An example of the 404 url:

/checkout/cart/add/uenc/aHR0cHM6Ly9lbGVrdHJvbmlrZGVsZS5kay8,/product/1193/form_key/0X2MdMHKzLuVombB/

Magento 1.9.3

2
  • you have the check the permission ? Apr 13, 2017 at 5:52
  • I have set all folder permissions to 770 and all file permissions to 660
    – Dennis W
    Apr 13, 2017 at 19:39

1 Answer 1

0

If the domain is changed, have you check that you updated base urls at core_config_data table.

web/secure/base_url
web/unsecure/base_url

These two values must be your new domain.

1
  • The domain is the same. I suspect that there is some nginx configs that are different. The way the urls are rewritten or something, but I am not sure
    – Dennis W
    Apr 13, 2017 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.