Changes between Version 1 and Version 2 of how-to/cms/Archive


Ignore:
Timestamp:
Jun 18, 2020, 1:05:56 PM (4 years ago)
Author:
Mallory Knodel
Comment:

WikiFormat from MD

Legend:

Unmodified
Added
Removed
Modified
  • how-to/cms/Archive

    v1 v2  
     1''Content note: We followed this guide and added in some of our own learnings: https://www.drupal.org/node/27882.''
     2
    13Your site might be running one of a variety of content management system software (CMS) like Drupal or Wordpress, but you aren't actively adding content to the site anymore. You might be considering how to handle an old site that still has value to readers but that is costing you a lot of time to maintain just for security updates to your CMS.
    24
     
    57Your site will remain up, it will use the same domain, and all of the links will still work. Here's how you do it[0]:
    68
    7 # Take note of the archive
     9== Take note of the archive ==
    810
    911You want your readers to know when this site was archived, so we suggest creating a block or footer message on your site that will appear on all pages, noting when the content was archived.
     
    1113Remember, the CMS backend is about to go away for good. You are about to make all of your pages independent from one another, so changing anything, site-wide, at a later will be next to impossible.
    1214 
    13 # Disable any interactivity
     15== Disable any interactivity ==
    1416
    1517Your readers won't be able to fill in forms, login or submit content. You need to disable all of these features at this stage in the process.
     
    1921For Wordpress and other CMSs: Look for any search widgets, contact me forms, or other bits of interactivity that wouldn't work on a static site anyway and remove them entirely from your site.
    2022
    21 # Create static pages
     23== Create static pages
    2224
    2325There are a few ways you can create HTML pages from your entire site, and a few are listed here: https://www.drupal.org/node/27882, along with examples for how to run the commands. There is also software you can download to your laptop, like SiteSucker.
     
    2527Tip: Choose HTTrack (slightly better results than wget, in our experience)
    2628
    27 # Move your old CMS files
     29== Move your old CMS files
    2830
    2931Eventually you'll want to remove these files from the server completely. But if you'd like to compare your site side-by-side with its static version, you can move your site files to a new place, like old.mysite.org, for now.
    3032
    31 # Upload your new HTML files
     33== Upload your new HTML files
    3234
    3335With your old CMS files out of the way, you can now upload the static files generated by HTTrack (or another method) to the server directory where your CMS lived before. Nothing needs to be tweaked, no cron needs to run-- it's that simple.
    3436
    35 # Click around the site and make sure it's all there
     37== Click around the site and make sure it's all there
    3638
    3739This process never goes the same way twice, but we have added here some common problems and their solutions:
     
    4042 * Some pages didn't get archived: One solution is to run HTTrack again if many pages are missing, perhaps tweaking the command parameters. Another is just to grab the missing page in a one-off wget and upload it to the server with the rest.
    4143 * ...
    42 
    43 [0] We followed this guide and added in some of our own learnings: https://www.drupal.org/node/27882