How Do I Find the Current URL for a WordPress Slug?

Finding the current URL for a WordPress slug can be a bit of a challenge. Fortunately, there are a few methods you can use.

One way to find the slug for a post or page is to use the “site:” URL parameter in a Google search. For example, if you wanted to find the slug for the post “How to Install WordPress on a new Server,” you would type “site:WordPress.

org how to install” into a Google search bar.

Another way to find the slug for a post or page is to use the “post_type” meta tag. For example, if you wanted to find the slug for the post type “blog,” you would use the following meta tag:

Finally, you can use the “name” attribute of the post or page to find the slug. For example, if you wanted to find the slug for the post “My First Post,” you would use the following attribute:

My First Post

The slug for this post would be “my-first-post.”.