WordPress Notes

From MagnetoWiki
Revision as of 17:40, 20 July 2008 by Chuck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These are notes on Administering WordPress on Magnet.

Installing WordPress

In general follow the standard Installation Steps, with the following details.

To create the database I used the command-line method. Access the database as root:

sudo mysql

When editing wp-config.php, change the DB_HOST setting from 'localhost' to '127.0.0.1'. Magnet doesn't seem to be resolving localhost properly, so the IP address is a work-around.

wp-config.php: define('DB_HOST', '127.0.0.1');

To allow WordPress to upload images, the wp-content directory should be made group writable:

chmod -R g+rw blog/wp-content

Notes on Moving a WordPress Blog

Before moving the blog, login as an administrator and in Settings/General, change the WordPress and Blog URLs to the new location.

After moving the blog, you may need to adjust the Upload paths in Settings/Misc.