Logging in to WordPress
The first time you log in to WordPress, you must use the admin user with
an automatically generated password. To log in:
- Get the admin user’s password.
- Log in to the WebFaction control panel.
- Click Domains / websites ‣ Applications. The
applications list appears.
- Make a note of the password in the Extra info column in the
row for the WordPress application.
- Log in to WordPress.
- Open the WordPress Log In page at
http://domain_path/wp-login.php where domain_path is the
domain and URL path where the WordPress application is mounted.
- In the Username field, enter admin.
- In the Password field, enter the password from the
WebFaction control panel.
- Click the Log In button. The WordPress
Dashboard appears.
Now you can control all of the settings related to your WordPress blog. You
can also change the admin password by following the Notice prompt
at the top of the Dashboard.
Note
Any change to the WordPress admin password will not be reflected on the
WebFaction control panel.
Backing Up and Restoring WordPress Content
Backing Up
To back up the content of your WordPress blog to a SQL dump:
- Log in to the WebFaction control panel.
- Click Databases ‣ MySQL phpMyAdmin interface. The
phpMyAdmin login page appears.
- In the Username field, enter account_app,
where account is your account name and app is the name of the
WordPress application as it appears in the control panel.
- In the Password field, enter the database password.
- Click the Go button. The phpMyAdmin site appears.
- Click the Databases tab. A list of databases appears.
- Click account_app. A list of tables appears.
- Click the Export tab. The dump form appears.
- Click to select Add DROP TABLE / VIEW / PROCEDURE / FUNCTION.
- Click the Go button. Your browser will prompt or begin the
download of the SQL file.
Restoring
To restore the content of your WordPress blog from a SQL dump:
- Log in to the WebFaction control panel.
- Click Databases ‣ MySQL phpMyAdmin interface. The
phpMyAdmin login page appears.
- In the Username field, enter account_app,
where account is your account name and app is the name of the
WordPress application as it appears in the control panel.
- In the Password field, enter the database password.
- Click the Go button. The phpMyAdmin site appears.
- Click the Databases tab. A list of databases appears.
- Click account_app. A list of tables appears.
- Click the Import tab. The import form appears.
- Click the Choose file button. Your system’s file
selection dialog appears. Select the SQL file to be restored and
dismiss the dialog.
- Click the Go button. The file will be processed and a
confirmation message appears.
Sending Email from WordPress
You can send email messages from WordPress by using the Configure SMTP
plugin. To use the Configure SMTP plugin:
Note
WebFaction includes the SMTP plugin by default with installations of
WordPress create after October 2009. If you’re using an older
installation of WordPres, follow these steps to install the Configure
SMTP plugin:
- Open the WordPress site Log In page (for example,
http://mydomain.com/wp-login.php) and log in with the administrator
account. The Dashboard page appears.
- Click Plugins ‣ Add New.
- Enter smtp in the Search field.
- Click the Search Plugins button.
- Find the Configure SMTP plugin in the list that appears.
- Click the Install link at the end of the row. A dialog
with additional information appears.
- Click Install Now.
- Open the WordPress site Log In page (for example,
http://mydomain.com/wp-login.php) and log in with the administrator
account. The Dashboard page appears.
- Click Plugins.
- Beneath Configure SMTP, click Activate.
- Click Settings ‣ SMTP. The
Configure SMTP Settings page appears.
- In the SMTP host field, enter smtp.webfaction.com.
- Enter 465 in the SMTP port field.
- In the Secure connection prefix menu, click to select ssl.
- Click to select Use SMTPAuth.
- In the SMTP username field, enter your WebFaction mailbox
name.
- In the SMTP password field, enter your WebFaction mailbox
password.
- In the Sender name field, enter a display name for email
messages sent by WordPress.
- Click Save Changes.
WordPress will now be able to send email messages for notifications and
other uses.
Upgrading WordPress
You can upgrade WordPress installations in-place. Follow the directions for
your WordPress version.
Note
Upgrading WordPress will not update the version number listed on the
WebFaction control panel.
Version 2.7 or Higher
To upgrade a WordPress installation of 2.7 or higher:
- Log in to WordPress.
- Click Tools. The Tools menu expands.
- Click Upgrade. The Upgrade WordPress page appears.
- Click the Upgrade Automatically button. The upgrade is
downloaded and installed.
Other Versions
To upgrade a WordPress installation with a version older than 2.7:
- Install the WordPress Automatic upgrade plugin.
- Copy the Download link URL from the plugin’s
directory page. For example, version 1.2.5 of the plugin uses the
download URL http://downloads.wordpress.org/plugin/wordpress-automatic-upgrade.1.2.5.zip.
- Open an SSH session to your account.
- Switch to the WordPress application’s plugins subdirectory.
Enter cd ~/webapps/worpdress/wp-content/plugins and press
Enter.
- Download the plugin. Enter wget url, where url is the
download URL copied previously, and press Enter. A zip file
containing the plugin is created.
- Unzip the plugin. Enter unzip wordpress-automatic-upgrade.{version}.zip, where version is the
version number of the plugin.
- Log in to WordPress.
- Click Plugins. The Plugin Management page
appears.
- In the row of the table for Wordpress Automatic Upgrade,
click Activate.
- Upgrade WordPress.
- A notice, Click Here to Automatically Upgrade WordPress to latest Version, appears at the top of the page. Click
Click Here. The WordPress automatic upgrade
page appears.
- Follow the automatic upgrade instructions as they appear.
- Remove the plugin.
- Click Plugins. The Plugins list appears.
- In the row for Wordpress Automatic Upgrade, click
Deactivate.
- In the row for Wordpress Automatic Upgrade, click
Delete. The Delete Plugin page appears.
- Click the Yes, Delete these files button.
Using Multisite
As of WordPress version 3.0, WordPress MU has become part of the core
WordPress software. With the Multisite features of WordPress 3.0, you can
create a network of WordPress blogs from a single installation of WordPress
using subpaths (for example, example.com/blog1, example.com/blog2, etc.)
or subdomains (for example, blog1.example.com, blog2.example.com, etc.).
To use the Multisite feature of WordPress to create a blog network:
Create a WordPress application.
- Log in to the WebFaction control panel.
- Click Domains / websites ‣ Applications. The
Apps list appears.
- Click the Add new (
) button. The Add
page appears.
- In the Name field, enter a name for the WordPress
application.
- In the App category menu, click to select
WordPress.
- Click the Create button. The View page appears
with a confirmation message. The extra_info field will
also contain the generated password for the admin user.
Create a WordPress website entry.
- Click Domains / websites ‣ Websites. The
Sites list appears.
- Click the Add new (
) button. The Add
page appears.
- In the Name field, enter a name for the website record.
- In the Subdomains menu, click to select the desired domain
for your WordPress blog network.
- In the Site apps table, click the Add new
(
) button. A new row appears in the table.
- In the App menu, click to select the WordPress application.
- In the URL path field, enter /.
- Click the Create button. The View page appears
with a confirmation message.
Wait two minutes while the website record changes take effect.
Enable WordPress Multisite.
- Open an SSH session to your account.
- Open ~/webapps/app/wp-config.php in a text editor.
- On a new line beneath <?php, add
define('WP_ALLOW_MULTISITE', true);.
- Save and close the file.
Configure WordPress Multisite.
- Log in to the WordPress Dashboard with the admin user. You can
find the login page at http://domain/wp-login.php, where
domain is the domain you selected for your website record.
- In the menu on the left, click Tools ‣ Network. The
Create a Network of WordPress Sites page appears.
- Click to select the address type you would like to use for blogs
on the WordPress network:
- Choose Sub-domains for network blogs to use subdomains to
form URLs. For example, marysblog.example.com,
johnsblog.example.com, and so on would use the Sub-domains
selection. Subdomain-specific configuration steps will be required
later in this tutorial.
- Choose Sub-directories for network blogs to use
subdirectories to form URLs. For example, example.com/marysblog,
example.com/johnsblog and so on would use the Sub-directories
selection.
- In the Network Details section, adjust any preferences as
desired.
- Click the Install button. The
Enabling the Network page appears.
- The Enabling the Network page provides several important
steps to complete the WordPress Multisite setup. Complete the
directions provided before continuing.
- Log out of the WordPress site.
For Subdomain users only: Configure subdomains wildcard.
Note
You may opt to manually add subdomains rather than using a a wildcard.
When you create an additional Multisite blog, however, you must add the
new subdomain to the WordPress application’s domain and website entry or
the Multisite blog will not be reachable.
- Log in to the WebFaction control panel.
- Click Domains / websites ‣ Domains. The list of
domains associated with your account appears.
- In the row of the domain in use with the WordPress website, click the
Edit (
) button. The Edit page appears.
- Click the Add new (
) button. A new row appears
in the Subdomains table.
- In the new row’s Prefix field, enter * for a wildcard
subdomain.
- Click the Update button. The View page appears
with a confirmation message.
- Click the Domains / websites ‣ Websites. The
Sites list appears.
- In the row of the website record for the Multisite WordPress,
installation, click the Edit (
) button. The
Edit page appears.
- In the Subdomains menu, add the wildcard subdomain to the
selected domains.
- Click the Update button. The View page appears
with a confirmation message.
You can now make and manage new Multisite blogs: just login to the WordPress
Dashboard and use the Super Admin module in the menu.