JavaScript Editor Ajax software     Free javascripts 



Main Page

Turning On Permalinks
Next, you turn on permalinks. This changes the dynamic URLs to rewritten static URLs (that is,
/this-
is-a-post/
) in your blog.
1.
Load the admin page (
http://seophp.example.com/blog/wp-admin/
), click the Options link
in the top menu, and select Permalinks. Choose the “Date and name based” entry, as shown in
Figure 16-4. This enables keyword-rich URLs for your blog.
Alternatively, you can choose to have only the post name and post ID in the link — without the
date, in which case you would type
/%postname%/%post_id%/
in the Custom box.
2.
After making your choice, verify that the
.htaccess
file in the
blog
folder (
not
in the root
seophp
folder) is writable, and click the Update Permalink Structure button. This writes the
mod_rewrite rules necessary for the rewritten URLs to
.htaccess
. The rules for your particu-
lar configuration are listed here:
# BEGIN
<IfModule mod_rewrite.c>
Figure 16-4
293
Chapter 16: : Creating an SE-Friendly Blog
c16.qxd:c16 11:04 293


JavaScript Editor Ajax software     Free javascripts