How To Revive A ‘Dead’ WordPress Website

My old WordPress site http://basketball.exchange.ph was actively maintained for five years until I lost interest. After a few years of lying mostly dormant the site developed errors and essentially ‘died’ as it was inaccessible.

I wanted to reactivate it again. Fortunately I had not deleted the files and database from my shared server so making it ‘alive’ again was certainly possible. However since the site had not been updated for several years it was using a very outdated version of WordPress and was incompatible with the latest versions of MySQL and PHP.

Simply reactivating and updating it via the normal ‘one click update’ WordPress is known for is ok for most recently upgraded websites, but for those that haven’t been touched in years it may result in unwelcome surprises.

In summary, here’s what I did to avoid these surprises.

  1. Set up the old website to function the same way as it did before the domain lapsed.
  2. Set up a fresh new WordPress site with nothing in it.
  3. Use the Export tool on the old website to produce an xml file of old users, posts and comments.
  4. Import it into the new website.

Continue reading “How To Revive A ‘Dead’ WordPress Website”

Tutorial: How To Download Your Drupal Website To Your PC

A typical dynamic website such as Drupal, Wordpress, phpbb, Joomla, etc. consists of two parts you will need to download:

  • The site files itself, such as images, .php, .html, .txt, .htaccess files and so on. Typically everything inside the /public_html folder.
  • The database.

In this example I am going to download the files and db of my Drupal website http://philippinecarmarket.com.

Step 1: Compress the site files into one tar file.

Login via ssh and go to your root directory if you are not there already. Continue reading “Tutorial: How To Download Your Drupal Website To Your PC”