How To Find A WordPress Post ID – A Quick Guide

Sometimes website owners need to find the reference number of the article (or WordPress post ID) very urgently. The purpose of this data is quite diversified. One of the examples – when you need to exclude a certain post from the sitemap. Or customize a certain post or posts. In order to do that, some apps may ask for the post ID.

 How To Find a WordPress Post ID?

There are several ways to find an ID: from the website or the database. In this article, we will discuss 4 ways of finding the ID, so you will choose what’s best for you.

1. Use a Plugin

Install the plugin Show IDs by 99 Robots and activate it. The plugin doesn’t require special settings. Go to Posts => All posts and you’ll find an additional column ID next to each post. See the example below.

How To Find a WordPress Post ID

 2.  Edit a Post

If finding an ID is a one-time thing this option may be your best choice. You don’t need to install any plugin nor perform extra actions. Go to the list of posts and open the necessary post. Look at the page URL. It will look pretty much like this: or Here, ?post=22 shows the actual WordPress post ID, which is 22, by the way.

If you use simple permalinks then the editor will show actual URLs with ID,

How To Find a WordPress Post ID

3. Hover a Mouse

Go to All posts, hover the mouse to the necessary article. Do not click it. At the bottom of the screen (browser), you’ll see the URL with WordPress Post ID. In the example below, it is 47.

How To Find a WordPress Post ID 

4. Use phpMyAdmin

If you want to see post IDs from the admin panel on the hosting open the wp_posts file. It shows the list of all posts. Go through the titles (post_title), find a necessary post and check its ID.

How To Find a WordPress Post ID


We’ve discussed four ways of finding a WordPress post ID. Each one of them is quite easy and useful. The choice is yours. Choose wisely, based on your needs and the frequency of using IDs

Scroll to Top