我将生产的 Magento 应用程序复制到我的开发机器上。我更改了 core_config_data 表(2 行)中的 base_url。我删除了 magento 安装目录中的 /var/cache/* 。
但是当我访问 www.my_dev.com/shop 时,它会将我重定向到 www.my_production.com/shop。
这是 core_config_data (我将 URL 修改为假的):
mysql> select * from core_config_data;
+-----------+---------+----------+-------------------------------+------------------------------------------------------+
| config_id | scope | scope_id | path | value |
+-----------+---------+----------+-------------------------------+------------------------------------------------------+
| 1 | default | 0 | general/region/display_all | 1 |
| 2 | default | 0 | general/region/state_required | AT,CA,CH,DE,EE,ES,FI,FR,LT,LV,RO,US |
| 3 | default | 0 | catalog/category/root_id | 2 |
| 4 | default | 0 | admin/dashboard/enable_charts | 1 |
| 5 | default | 0 | web/unsecure/base_url | http://www.my_dev.com/shop/ |
| 6 | default | 0 | web/secure/base_url | http://www.my_dev.com/shop/ |
| 7 | default | 0 | general/locale/code | en_US |
| 8 | default | 0 | general/locale/timezone | America/Los_Angeles |
| 9 | default | 0 | currency/options/base | USD |
| 10 | default | 0 | currency/options/default | USD |
| 11 | default | 0 | currency/options/allow | USD |
+-----------+---------+----------+-------------------------------+------------------------------------------------------+
11 rows in set (0.00 sec)
我错过了什么?
谢谢。
三孔