WordPress.org

Ready to get started?Download WordPress

Forums

downloading wordpress website to a CD (13 posts)

  1. quercusrobur
    Member
    Posted 4 years ago #

    Hi apologies if this has already been covered but I couldn't find anything...

    Just wondering if there is a way of downloading a site created with wordpress to a directory on my computer which can then be put onto a 'standalone' CD with all links working locally. I have created a site for here http://www.ordinarylives.org.uk for my boss who now wants to burn it to a CD which can be given away to local schools. Any advice gratefully recieved, thanks

  2. stvwlf
    Member
    Posted 4 years ago #

    Your question is not clearly stated.

    If you mean give a way a CD so that people can run WordPress on their local computer at home, the answer is No because running WordPress on a local computer requires having Apache, MySQL, and PHP installed on the local computer. The percentage of computer users who have that is (I'm guessing) about 2%.

    If that is not what you mean, can you explain in more detail what you are after?

  3. quercusrobur
    Member
    Posted 4 years ago #

    Hi sorry, will try to clarify, I want to download the existing pages that I've created so far to a CD that can be viewed 'standalone', but linked to each other on the CD rather than to pages on the web, so that the CD can be used offline. I guess I could manually alter all the link locations using Kompozer or somesuch, but was just wondering if there was some bit of software or some other fix that might do this automatically as this would be a very lengthy process. I wasn't intending that the content could be editable or anything, just a 'snapshop' of the website as it currently stands. Have already told my boss that its not looking too hopeful, but I don't think thats what he wanted to hear...

  4. lokrin2000
    Member
    Posted 4 years ago #

    You would have to make all the links relative.

    But, before that, since WordPress is database driven, and CDs aren't dynamic and able to run a database application, You would have to somehow capture each possible page as an html file.

    Some plugins like Super Cache might be able to do that (from what I hear).

    But it seems like a lot of work.

    Someone could probably build a plugin that would do all that and then zip it up so you could download it and burn to disk, but, unless you pay someone, you probably won't find one right now.

  5. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    i found this, however i have never even tried doing it nor have i any idea how to handle it;
    http://www.suodatin.com/fathom/How-to-retire-a-wordpress-blog-(make-wordpress-a-static-site)

  6. You could probably export it all via wget or something, and whip up a shell script to pull them all down but ... It's a lot of work and defeats the purpose of a dynamic website.

  7. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    You can make your WordPress site "portable" and make it read-only. I got the idea from http://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer
    1. First I installed XAMPLITE or MAMP in USB drive.
    2. Make it tamper-proof by adding username and passwords to MySQL and XAMP Directory and later when everything set up including themes and plugins, copy the folder from USB drive to CD-R.
    3. Make it easy for yourself to "copy" your files from online.
    - From online WordPress site - Tools > Export > XML
    - From USB WordPress - Tools > Import > WordPress and check box to include attachments

    Now, you have to add some instructions to your users
    1. After inserting CD to computer, there'll be a prompt onscreen - just click on open the folder e.g. xamplite - open it
    2. Click on xamp-control application, a tool box will appear on screen
    - Click on Apache to get it running
    - Click on MySQL to get it running
    3. Open up any browser
    input http://localhost./wordpress/ and viola, the site is there

    There could be a script which could automatically enable Apache and MySQL to start running when the CD is inserted and even open up the WordPress installation with any existing browser, but I haven't found that yet :-)

    So with the installation of Apache and MySQL in USB drive, I've also used this method for other sites driven by PHP

  8. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    if you are still working on the project, here another link (untested):
    http://www.httrack.com/

  9. thebettertwin
    Member
    Posted 4 years ago #

    guys the best way to do this (imo) is to use server2go DL
    i downloaded the mini version cos its fairly small.
    once unzipped you should have a server 2 go folder with a htdocs folder there. you can copy your custom theme across if desired.
    to set it up locally you need to edit a file called pms_config.ini
    look for these two items and change them as so:
    - StartLocal = 1
    - LocalMirror = 0
    this ensures that your database remains intact locally.
    once you have copied across your wordpress folder (or however you have installed wordpress ie might not be a folder just the files) you edit either the wp-config-sample.php file (Rename to wp-config.php if first install) or open the wp-config.php in your favorite text editor (Notepad) and edit the top few lines so they look this:
    define('DB_NAME', 'server2go');
    define('DB_USER', 'root');
    define('DB_PASSWORD', '');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    now go to:
    http://localhost:4001/wordpress/wp-admin/install.php

    if this is moving from a already hosted wordpress you might want to "copy" (as mercime states) your files from online.
    - From online WordPress site - Tools > Export > XML
    - From the local WordPress - Tools > Import > WordPress and check box to include attachments

    once you have things how you want them create a copy of the server 2 go folder (cos we need to change the config file again and it will wipe your database data if you try to edit the site again)
    in this copy edit the pms_config.ini file again
    this time changing to
    - StartLocal = 0
    - LocalMirror = 1
    AND
    DefaultFile=wordpress/ (or whatever your website is stored to) (dont forget the /)

    finally burn everything in the server2go folder (dont just copy the folder across) and you now have a auto running (people just have to click the server2go.exe) instance of your website where all the links work, the search works and people can even log in (admitedly they cant really change anything cos as soon as they take the disc out it will be back to how it was).

    hope this helps some people cos i spent ages trying to find out how to get this to work.

  10. Gordon332
    Member
    Posted 4 years ago #

    Hello,
    I have been doing some trials with a product that puts CMS onto CD, you are welcome to the download from my site if you like

    The original tool is from

    I understand that it has no problems with WordPress and it is very easy to use with rebranding options for splash screens and icons.

    Gordon

  11. eayer
    Member
    Posted 4 years ago #

    Hello,

    I was able to burn my wordpress.com site using Site Sucker: worked perfectly

  12. eayer
    Member
    Posted 4 years ago #

    sorry meant to include the url... http://www.sitesucker.us/home.html

  13. sabinou
    Member
    Posted 4 years ago #

    In very old days (win 2K had just started selling), I used to resort to Teleport Pro for this, asking him to make a local copy of a website, if the website was dynamical it still created a static copy.

    I have no idea how it would work, but it was so wonderfully easy, it may be worth a try too.

Topic Closed

This topic has been closed to new replies.

About this Topic