Is a WordPress Page a Slug?

When you create a new WordPress page, WordPress automatically creates a slug for you. A slug is simply a short, easy-to-remember name for a page. For example, the slug for my blog’s home page is “www.

katiepowell.com.”.

WordPress automatically assigns slugs to new pages based on the page’s name, the name of the theme used to create the page, and any other relevant information. So, a page named “about” would have a slug of “about.

html.

You can change a page’s slug if you want, but it’s usually a good idea to leave WordPress’s slug-assignment in place. It makes it easy for people to find your pages and helps you keep track of which pages belong to which sections of your website.

WordPress pages are usually slugs, but that’s not always the case. For example, a page named “contact” would have a slug of “contact.html.” This is because contact.

html is the page that WordPress uses to display contact information (name, email address, etc.) when someone views the page using the “Contact” menu item on a WordPress site.

Conversely, a page named “aboutme” would not have a slug because it doesn’t contain any contact information.

So, in general, a WordPress page’s slug is either the page’s name plus “html” (for pages that don’t have a theme), or the page’s name plus “-me” (for pages that do have a theme).

However, there are a few rare exceptions to this rule. For example, a page named “contact-form-7″ would have a slug of “contact-form-7.

” This is because contact-form-7.php is the template file used to generate the contact form on the page.

And finally, a page named “wp-login.php” would have a slug of “wp-login.

” This is because wp-login.php is the template file used to generate the login form on the page.

So, in general, a slug is a short, easy-to-remember name for a WordPress page. But there are a few exceptions to this rule, and you should always check to see what a page’s slug might be before you try to change it.