How to Hide Pages and Posts in WordPress

by Tyler Suchman on September 18, 2009

You may want to hide a Page or Post in WordPress for a variety of reasons: it’s in draft mode and you aren’t done composing it, it’s for an event that hasn’t been announced, or it’s an expansion of your site that you aren’t ready for. No problem!

Put a Page or Post in Draft mode – when you’re editing your Page or Post, look in the right column “Publish” section. If its already published, you’ll see “Status: Published [Edit]“. Click “Edit”, select Draft from the drop-down menu, click OK, and click the blue Update Post button. The Page or Post should no longer be visible on the site.

{ 9 comments… read them below or add one }

BJ Hill October 11, 2010 at 8:22 am

Awesome… just what I was looking for. Thanks for posting this. Too bad there is no way to do this in bulk (I have 70+ posts to change… 😛 )

Michelle October 16, 2011 at 3:59 pm

Just used it, it works, thanks :)

WebSolHub July 23, 2012 at 3:21 pm

What if I want the users to see the post if they know the exact url?

Qaiser January 29, 2013 at 2:13 am

Is there a way to hide posts section in wordpress admin for specific users?

Tyler Suchman January 29, 2013 at 2:57 pm

Hi Qaiser – you’d have to use a bit of custom code in your theme – check this article out. Alternately, there are some plugins out there that help control visibility of the available admin components. Thanks for asking!

Tyler Suchman January 29, 2013 at 2:58 pm

Hey there – just don’t include that page in any menus, and provide a direct link to those who should have access. You can password protect this page for a little added security.

Daniel May 28, 2015 at 4:43 am

If I put in on draft, I cannot access the url anymore. I need a way to have it “unlisted”, accessing it only if I have the link.

windmix com May 13, 2017 at 5:55 am

This page also gives you the ability to hide URLs that contain a specific string.

Hilary Walker June 13, 2017 at 11:51 am

THANK YOU, TYLER! I’ve been tearing my hair out trying to find way to do this without having to upgrade and be able to add plug-ins.

I really appreciate the help!

Leave a Comment