Skip to main content

Retrieve The PageID / PostID Of A Deleted Page / Post

I've previously provided instructions for recovering a deleted page (static page) or post (dynamic page).

Retrieval of a deleted page / post involves editing the deleted page / post, using a URL which contains the BlogID, and the PageID / PostID. It's easy enough to get the BlogID - the source listing for any blog page will have multiple places where the BlogID can be found - but where can one find the PageID / PostID?

The PageID / PostID can be found - given a small amount of effort, for any well indexed blog. Any cached copy, of the deleted page or post, will provide the PageID / PostID - once you know what to look for.

Start by knowing 3 details.
  1. BlogID. This is easily retrieved, as explained above. This is useful, for scanning a blog feed cache listing.
  2. Post Title. This is useful, when scanning a blog feed cache listing.
  3. Page / Post URL. This is necessary, for searching either an archive cache or search engine cache.

There are three major sources, for retrieval of cached blog content.
  1. Archive Cache.
  2. Blog Feed.
  3. Search Engine Cache.
If you can locate a given post in any of the three, you can retrieve the PostID, for a deleted dynamic page, easily enough. The comprehensive cache retrieval may be a good place to start.

The PageID, for a deleted static page, may be a bit more challenging. Static pages are not found in newsfeeds - and may not always be cached by a search engine.

Archive Cache stores and retrieves content based purely on the URL of the content. The best known archive cache would be The Internet Archive, aka the "Wayback Machine". The Wayback Machine is a search engine independent archive, with content that can be retrieved based on the URL, and content stored by date.

Multiple versions of the same URL may have been stored. When stored, the various versions are displayed for retrieval using a calendar - and a menu for each day on the calendar, when multiple versions were stored on the same day.

The PageID / PostID never changes, so any selection which yields content will do, as well as any other selection. In some cases, you will find that the archive will index a deletion - so if a given archive entry yields the well known Blogger "Deleted content" advice, search the archive for a previously indexed version.

If the URL of interest is in archive cache, simply display a cached page, and examine the page source. The PostID will be at the beginning of the post, in the source.

Blog Feed Cache uses the posts newsfeed, which is generally limited to the last published 25 posts. If you subscribe to your own blog, using Reading List or a similar newsfeed reader, you likely have the last 25 posts of your blog in cache there.

We have discovered, generally to our dismay, that deleting a post does not remove it from the newsfeed. In this case, that shortcoming will be an advantage.

Simply view the content of the newsfeed using a text based browser, and examine the newsfeed source listing. Find the post in question. The PostID will be just above the post title, in the source.

Search Engine Cache uses the post content, as cached by any available search engine. Search engine cache saves the most recent copy of any saved post, and indexes the post by URL - or many different keyword searches.

I generally use Google Search. Just type "cache:", followed by the URL of the deleted page or post, to see if the page or post is (was) indexed.

If the post is indexed, you can, like with Wayback Machine content, view the indexed page, and look at page source. And just as with Wayback Machine retrieved content, just look for the beginning of the post, and the PostID.

Once you have the PageID or PostID, just build the post editor URL, edit the page or post, and Publish.


Popular posts from this blog

What's The URL Of My Blog?

We see the plea for help, periodicallyI need the URL of my blog, so I can give it to my friends. Help!Who's buried in Grant's Tomb, after all?No Chuck, be polite.OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Leave Comments Here

Like any blogger, I appreciate polite comments, when they are relevant to the blog, and posted to the relevant article in the right blog. If you want to ask me a question thats relevant to blogging, but you can't find the right post to start with (I haven't written about everything blogger related, yet, nor the way things are going I don't expect to either), ask your questions here, or leave an entry in my guestbook.

As noted above, please note my commenting policy. If you post a comment to this post, I will probably treat it as a "Contact Me" post. If you have an issue that's relevant to any technical issue in the blog, please leave a comment on the specific post, not here. This post is for general comments, and for non posted contact to me.

If the form below does not work for you, check your third party cookies setting!

For actual technical issues, note that peer support in Blogger Help Forum: Something Is Broken, or Nitecruzr Dot Net - Blogging is, almos…

What Is "" vs. ""?

With Google Domains registered custom domains becoming more normal, we are seeing one odd attention to detail, expressed as confusion in Blogger Help Forum: Learn More About Blogger.My website uses "" - am I supposed to use "", instead?It's good to be attentive to detail, particularly with custom domain publishing. This is one detail that may not require immediate attention, however.