How to quickly create a test environment of your store

We’ll describe today a quick way to create a test environment of your production site.

Here are all the necessary steps:

  1. create a sub-directory such as test on your server (e.g.
  2. copy your production site under this new directory (excluding var directory)
  3. duplicate your database and link your it to test store (you need to edit app/etc/local.xml and modify connection details)
  4. use the following query: UPDATE core_config_data SET value = ‘’ WHERE path = ‘web/unsecure/base_url’ OR path = ‘web/unsecure/base_url’

Now you can log into your test admin store through (admin can be replace by your real admin front name).

Make sure that you replace by a real url.