我是 Magento 的新手。在浏览器中打开网站时我遇到一些问题。
我有两个网站:
- http://www.diamondjewelryhub.com
- http://musicalinstruments101.com/
我已经下载了 代码和数据库。 Diamondjewelryhub.com" rel="nofollow noreferrer">http://www.diamondjewelryhub.com。我想将此代码和数据库上传到 http://musicalinstruments101.com/ 的服务器上。
下载数据库后,我搜索了此 http://www.diamondjewelryhub.com
并替换为 http://musicalinstruments101.com/
。
之后,我在http://musicalinstruments101.com/
的服务器上导入了数据库文件,当我尝试打开http://musicalinstruments101.com/
时,它在网站 http://www.diamondjewelryhub.com
上重定向。
由于重定向错误,是否需要进行任何更改?
I am new on Magento. I am facing some problem when open the site in browser.
I am having two sites:
- http://www.diamondjewelryhub.com
- http://musicalinstruments101.com/
I have download the code and database
of http://www.diamondjewelryhub.com. I want to upload this code and database on the server of http://musicalinstruments101.com/.
After download the data base I searched for this http://www.diamondjewelryhub.com
and replace with http://musicalinstruments101.com/
.
After that I have import the database file on the server of http://musicalinstruments101.com/
, When I am trying to open http://musicalinstruments101.com/
it redirecting on the site http://www.diamondjewelryhub.com
.
Is there any change needed because it redirects wrong?
发布评论
评论(2)
您必须从 core_config_data 表中更改/删除 unsecure_url 和 secure_url 才能通过不同的 url 访问您的商店
You have to change/delete the unsecure_url and secure_url from core_config_data table to be able to access your store on different url
将文件复制到新服务器时,请记住不要复制
var/
目录的内容。这将包括有效覆盖数据库的缓存。When copying the files onto the new server remember to not copy the contents of
var/
directory. That would include the cache which effectively overrides the database.