Ajax software
Free javascripts
↑
Main Page
?
Prevent comment spam with the Akismet plugin
?
Add social bookmarking icons with the Sociable plugin
?
Implement “Email a friend” functionality with the WP-Email plugin
?
Add “chicklets” with the Chicklet Creator plugin
?
Generate a traditional sitemap with the Sitemap Generator plugin
?
Generate a Google sitemap with the Google Sitemap plugin
?
Create a Digg button plugin
?
Create a “Pagerfix” plugin, to add links to individual pages in the blog’s pagination
?
Add a
robots.txt
file to your blog and exclude some content that should not be indexed
?
Make the blog your home page and redirect
/blog
to
/
(if desired)
Much of these are optional, but you’ll want to implement at least
some
of them. This chapter tackles them
one by one.
Installing
To install , you need to create a database and extract its files to the web server directory. You will
use the
seophp
database you created in Chapter 1, but creating a separate database would suffice as well.
Following these steps, you’ll create a blog in the
/blog/
folder of your
seophp
directory.
This will make your blog accessible via the URL
http://seophp.example.com/blog/
.
1.
Download 2.0 from
http://wordpress.org/download/
, and unpack the archive
in your
seophp
folder.
2.
The archive contains a folder named
wordpress
. Rename that folder to
blog
, so
that your installation will reside in
/seophp/blog
.
3.
Open the
blog
folder, and copy the
wp-config-sample.php
file to
wp-config.php
.
4.
Open
wp-config.php
, and change it to reflect the database connection data:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘seophp’); // The name of the database
define(‘DB_USER’, ‘seouser’); // Your MySQL username
define(‘DB_PASSWORD’, ‘seomaster’); // ...and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// You can have multiple installations in one database if you give each a unique
i
prefix
$table_prefix = ‘wp_‘; // Only numbers, letters, and underscores please!
290
Chapter 16: : Creating an SE-Friendly Blog
c16.qxd:c16 11:04 290
Ajax software
Free javascripts
→