change the slug

However, pretty permalinks aren’t always as pretty as they should be. The problem
is that a post title doesn’t necessarily fit well into a web address. Often, it’s overly
long or includes special characters. In this situation, you can help WordPress out
by explicitly editing the slug—the version of the post name that WordPress uses in
your permalinks.

You can change the slug when you add or edit a post. Here’s how:

1. Find the permalink line, which appears just under the post title text box.
WordPress creates the slug automatically, once you type in the post title and
start entering the post content. After that point, the slug doesn’t change, even
if you edit the title, unless you edit it explicitly.

2. Click the Edit button next to the permalink line .
WordPress converts the portion of the permalink that holds the slug into a text
box. You can then edit to your heart’s content, so long as you stay away from
spaces and special characters, which aren’t allowed in URLs. The best permalinks
are short, specific, and unlikely to be duplicated by other posts. (Although
WordPress is smart enough to refuse to use a slug you assigned to another post.)
NOTE If you see a Change Permalinks button next to the permalink where the Edit button should be, you
don’t have pretty permalinks turned on. To fix the problem, follow the steps on page 117.

3. Click OK to make your change official.

change the slug

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s