复制Magento网站 [英] Copying a Magento site

查看:158
本文介绍了复制Magento网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

制作Magento网站的副本有多容易/难?

How easy/hard is it to make a carbon copy of a Magento site?

我公司使用Magento为客户开发了一个英国网站。这已被证明是受欢迎的,所以客户现在已经要求制作一个美国版本的网站。据我所知,该网站将是99%是相同的,只是指向一个不同的数据库(对于不同的产品),也许一些副本的更改。两个网站之间不会有任何集成,这两个网站都是自包含的实体。

My company have developed a UK site for a client using Magento. This has proven to be popular, so the client has now they've requested for a US version of the site be made. So far as I'm aware, the site will be 99% the same, just pointing to a different database (for different products), and maybe a few copy changes. There will not be any integration between the two sites, which will both be self contained entities.

问题是,构建网站的开发人员已离开公司,因此我已经得到了这个副本的任务。

The problem is that the developer who built the site has left the company, so I've been given the task of making this copy.

如果世界上有任何理智,那么应该是复制文件/数据库的情况,更新一些配置项,和bob的你的unkle - 但是我所听到的关于Magento的一切,这不会是这么容易。

If there is any sanity in the world, then it should be a case of copying the files/database, updating a couple of config items, and bob's your unkle - but with everything I've heard about Magento, it's not going to be this easy.

任何人都可以指向我在正确的方向请吗?谢谢:)

Can anyone point me in the right direction please? Thank you :)

更新:我不知道这是否有什么区别,但我们使用的是社区版的网站。

UPDATE: I don't know if this makes any difference, but we're using the Community Edition of the site.

推荐答案


它应该是复制文件/数据库的情况,更新几个配置item,
and bob's your unkle

it should be a case of copying the files/database, updating a couple of config items, and bob's your unkle

是的,基本上就是这样。

Yep, that's basically it.

您必须更改数据库表中的域名 core_config_data ,调整 app / etc / local.xml中的数据库连接参数,删除 var / cache 的内容,并准备好滚动:登录后端并更改所需的内容。

You'll have to change the domain name in the database table core_config_data, adjust database connection parameters in app/etc/local.xml, delete the contents of var/cache, and you're ready to roll: Log into the backend and change what you want.

这篇关于复制Magento网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆