Tag Archives: slug

WordPress Words: Slug

A slug is a few words that describe a post or a page. Slugs are URL friendly version of the post title (which has been automatically generated by WordPress), but a slug can be anything you like. Slugs are meant to be used with permalinks as they help describe what the content at the URL is.

WordPress Codex – Glossary Definition of Slug

A permalink is a URL at which a resource or article will be permanently stored. Many pages driven by Content Management systems contain excerpts of content which is frequently rotated, making linking to bits of information within them a game of chance. Permalinks allow users to bookmark full articles at a URL they know will never change, and will always present the same content.

WordPress Codex – Glossary Definition of Permalink

About The Word

In WordPress the slug is the specific address of a post or Page after the domain name. By default, it is a number, the post or Page ID number. Through the use of pretty permalinks, WordPress generates a semantic structure for the slug, which by default is the year, month, date, and post title in readable numbers and words. This may be modified on self-hosted WordPress sites.

Example post permalink: http://wordpress.org/development/2006/06/wordpress-tips-editing-posts/

The slug for that post is “wordpress-tips-editing-posts“.

In general, most people have no need to modify the slug of a WordPress post or Page. WordPress generates it automatically when creating a post or Page, cleaning it up to remove extraneous code and adding hyphens between the words. The main reasons people edit the slug is to shorten the length of the URL if the title is long, and to put more emphasis on SEO keywords.

For More Information

Advertisements

Tutorial: How to Change Your WordPress Slug

Slugs are used in the permalink structure and are created by default in WordPress. If you do not choose to define the slug, it will be automatically generated using the title of the post or page, separating each word using hyphens. While the auto-generated permalink may contain some key words, WordPress has given the user the ability to set the slug to contain the most optimized key words. The following tutorial will show you how to edit your slug in WordPress.

Go to Site Backend

Click All Posts or Pages as seen in the new interface or run your mouse over the Page or Post icon and click All Posts or All Pages as seen as the WP–Admin. All images in this tutorial will feature these two examples in the same order.

Screen shot of WordPress backpage highlighting the icon

Screen shot of WordPress backpage highlighting the icon

Select the Post or Page You Want to Edit

Here you will simply click Edit as seen in the first image or click Edit from the drop down box as seen in the second image.

This is a screenshot of selecting

 This is a screenshot of selecting

Edit the Slug

In the new WordPress interface you can simply edit the slug or click edit as seen in the second screenshot.

This is a screenshot of the slug closeup on your backpage.

This is a screenshot of where to edit your slug.

Slug Maximized

After you have edited your slug don’t forget to click on Update for your entire Post or Page.

This is a screenshot of the Update button on your Page or Post editor.

For More Information on WordPress Slugs

WordPress Words: Slug

A slug is a few words that describe a post or a page.
WordPress Codex.

Example: When a user is looking to increase their overall site traffic, they will customize their individual slugs to contain precise keywords to increase search engine optimization.

About the Word

Slugs are used in the permalink structure and are created by default in WordPress. If you do not choose to define the slug, it will be automatically generated using the title of the page or post, separating each word using hyphens. While the auto-generated permalink may contain some key words, WordPress has given the user the ability to set the slug to contain the most optimized key words.

You can edit the slug when you are editing a page or post as seen in the highlighted area below.

This is a screenshot from WordPress featuring where to change the slug.

For More Information