Get started with App.net.

  Sign up now  
chriskrycho
    Anybody know of a good way to basically mirror a WordPress site into static pages (not *convert* it) without copying all the resources over and over again (as you do with e.g. wget/curl/etc.)?
    jnm
      @chriskrycho Can you asplain a little differently what you want to do?
      chriskrycho
        @jnm I have an existing WordPress site. I want to stop running the WordPress back end (I’m not making any changes with it), but keep all the existing content *exactly* the way it is.
        chriskrycho
          @jnm I want to host it as static HTML pages, in other words, basically as a public archive of how the site was—but stop *re-rendering* it all the time and stop worrying about WordPress vulnerabilities, or updates breaking things.
          jnm
            @chriskrycho I know of no tool designed to do just that. wget has some extended options that allow you to download a whole site, but I don't know how well it would work for your case.
            There are 12 new posts
            joanna
              @chriskrycho Can't you just uninstall Wordpress and leave the static files it created where they are?
              chriskrycho
                @joanna It doesn’t really create any static files. (That’s one of the things I hate about WordPress.) I _should_ go looking and see if I can find a cache-building tool for it that would have that effect, though.
                joanna
                  @chriskrycho (I've never used Wordpress and don't know how it actually works but that's what I'd do with a MovableType site.)
                  chriskrycho
                    @jnm Terribly, as it turns out. That’s exactly what I have as an archive/backup from the first time I tried this (and for my old Blogger site, too, which I want to have in the same way). It does it, but it copies the resources (CSS, etc.) every time.
                    chriskrycho
                      @joanna Yeah! Good suggestion, though, and it may just have pointed me in the right direction! :D
                      chriskrycho
                        @jnm I ended up using HTTrack in the past, so I shouldn’t besmirch wget, actually, but I imagine the outcome might well be the same.
                        jnm
                          @chriskrycho curl is smarter than wget, but it doesn't have those options, AFAIK. Bummer.
                          chriskrycho
                            @jnm Giving it a go with wget since I realized I had done it with HTTrack before. I’ll report back!
                            chriskrycho
                              @jnm (It could take a while; the site was not tiny.)
                              cgiffard
                                @chriskrycho Performance issues? Or just general wordpress annoyance?
                                chriskrycho
                                  @cgiffard Mostly just that I switched to a static site generator 18 months ago, but want to keep the version I had around for historical purposes—but without the overhead of running a WordPress instance, keeping it updated, etc.
                                  keita
                                    @chriskrycho @cgiffard I’ve used this plugin [en.staticpress.net] before with good results.
                                    chriskrycho
                                      @keita @cgiffard Excellent; thanks! If this wget attempt doesn’t behave as desired, I’ll try that!
                                      peroty
                                        @chriskrycho I have an IFTTT recipe to grab all of my posts from WP and save them to Dropbox as HTML. You could do something similar with markdown or something and save them out to a static site.