Written by Marco Conti Thursday, 10 September 2009 13:01
Over the many years I have been working with Joomla! I have found that creating a "clone" (or more than one sometimes) of the main web site I am working on is a very useful tool in a Joomla developer bag of tricks. If you are using Cpanel as your main hosting control panel, this process is very fast and easy to implement.
A "staging" are on the server is very useful not only for you, the developer, but often clients will find it very handy for training and experimentation. The major advantage for them is that no matter their level, they won't screw up the main site no matter what they do.
Here is how it is done:
Now save and close.
The staging site should be working in its own folder independently of the main website, bit all user accounts and everything else should be identical to the main site.
NOTES:
If you are using Virtuemart or some other add-on scripts, they often have their own configuration file. In that case you have to make sure that you change that config file "path" as well. For instance, in Virtuemart, under "Configuration ==> Site there is a URL for both regular and HTTPS connections. That will remain with the old URL and you need to change it by adding /staging/ at the end. That's not always possible and you may have to do it in the file itself:
administrator/components/com_virtuemart/virtuemart.cfg.php
Remember the trailing slash or all sorts of funky things will happen.
As a last note, I often like to change the logo and the name of the site to make it easier not to confuse the two.
That's it. Now you have a clone of the main site for fun and pleasure.
Hope you enjoyed this tutorial.
CC.
| < Prev | Next > |
|---|
Conticreative offers Individual and Corporate training (in person or online) on Joomla, Wordpress, Zen Cart and other leading Open Source scripts.