HTML and CSS Reference
In-Depth Information
TIP
Many Web hosting providers offer one-click installation of
WordPress and other popular content management systems from
their control panels. If you want to use WordPress, or any of the
applications discussed in this lesson, you should check to see if
your hosting provider offers this feature.
After you've extracted the archive, you should copy the wordpress directory to a direc-
tory accessible as part of your website. If you want your blog to reside at the root direc-
tory for your server, copy the files out of the wordpress folder and directly into your
document root directory. Visiting the home page of your WordPress installation will
quickly illustrate the difference between using a hosted service and running an applica-
tion on your own. You're greeted with a request to create a configuration file, as shown
in Figure 22.5.
FIGURE 22.5
WordPress needs
a configuration file
to get started.
In your WordPress directory, you'll find a file named wp-config-sample.php . To set up
WordPress, you need to copy this file to a file named wp-config.php and enter your
database settings. If you are deploying WordPress to a server where you don't have a
shell account and can't edit files directly, you must create and edit this file before you
upload your files to the server.
I'm installing WordPress on my own computer, so I created the database and database
user myself. If you are installing WordPress on a shared hosting account, chances are
you've gotten the database login information from your hosting provider. In some cases,
you may want to install several different applications, or perhaps even multiple installa-
tions of WordPress in the same database. In that case, you'll want to look at the follow-
ing line in wp-config.php :
$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!
 
 
Search WWH ::




Custom Search