We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30424
    • 1 Posts
    Newbie here. Installed everything - works great, but how do I import my entire website of roughly 100 pages?

    I get copying them in to assets/import and running the Import HTML tool, but then they are all in wrong spot with busted links to graphics, etc. The existing site is working - the database just doesn’t know about it.

    I’m running IIS and have historically used FrontPage to edit/manage. Thanks.
      • 13017
      • 5 Posts
      wow - no one is replying to you ?

      I’d also like to know how to import my website fully so i can play with it here at modx!
      i have used site sucker to copy my old website and put it in "assets" but i’m unsure the best way to start to edit it now ... ?
      it just sits at the top of all the other pages and only appears as another tab when i publish it.

      do i have to make sure it’s set as HTML viewable offline set of pages? or just import an index.html and a css file?
        • 16183
        • 1,390 Posts
          • 3749
          • 24,544 Posts
          Quote from: tootall at Apr 27, 2008, 10:44 PM

          Newbie here. Installed everything - works great, but how do I import my entire website of roughly 100 pages?

          I get copying them in to assets/import and running the Import HTML tool, but then they are all in wrong spot with busted links to graphics, etc. The existing site is working - the database just doesn’t know about it.

          I’m running IIS and have historically used FrontPage to edit/manage. Thanks.

          It might make sense to do a search and replace operation on the links in the files in FrontPage before moving and importing them. Convert all the links to MODx format using base_url for the URL links and base_path for the file links. I haven’t done it for a while, but off the top of my head, the format is something like this:

          URL links: [(base_url)]images/filename.jpg
          FILE links: [(base_path)]assets/something/filenename.txt
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting