Hi I manage a number of modx (Evo) sites that are all for yearly trade shows.
Once a show has finished I would like to 'archive' the whole site to make way for the new years site. So keep it live and maintain all the db records and also all of the files and assets etc and maybe just prefix it all into a directory '2011' for example - if that is possible.
I know there are 'contexts' in Revo but due to server restrictions we can not upgrade.
I was just wondering if anyone else has done anything like this before and what experiences they have?
Thanks in advance.
Steve
-
☆ A M B ☆
- 24,524 Posts
I go through the site and remove all PHP-based dynamic features such as registration forms (which aren't relevant any more anyway), and archive it as a flat-file site using the Tools->Export function. Then I put all the .html files generated into a folder (2010 or 2011 for example) under the site root.
http://deafbusiness.org/2011/
If you just want to create a flat version of the site without any db links, a great software to use httrack. This is command line tool that allows you to grab an entire site and copy it down to a local flat version.
from the site:
It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online. HTTrack can also update an existing mirrored site, and resume interrupted downloads. HTTrack is fully configurable, and has an integrated help system.
You can grab httrack from
http://www.httrack.com/
Glyn Szasz
Sydney, Australia
Happy to help (when can) and happy to learn
If you are a Sydney based MODX developer would love to hear from you. Please contact me.
Ah OK thanks to all for the advice. I hadn't thought of extracting a flat version of the site. Seems like a sensible way to go.
Often the simplest solutions are the best!