WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Problem: I have a overview-page with a sub-page. Both pages are still in status "draft". Now I want to create a link on the overview-page to the sub-page, a popup appears, but in the list of internal pages, the drafted pages do not appear.

  1. Do I need to publish the sub-pages first to be able to link to them, or is there another way?
  2. Why are they not appearing in the list of internal pages?
share|improve this question

I should start off by saying that linking to drafts will only work for logged in users (with appropriate permissions) - other users will simply hit a 404 Not Found!

You'd be much better off getting all your content ready & published, or only link to it once it is ready!

Nevertheless, to answer your question, to link to a draft simply enter the URL manually in the URL field (as opposed to searching for the page using the link feature).

WordPress link visual editor

It'll probably be something like http://example.com/?page_id=X&preview=true - you can find it beneath the title field when editing.

Why are [drafts] not appearing in the list of internal pages?

The very nature of the WordPress 'link to content' feature is to ease the process mentioned above. It only shows published content, as this almost always what you want to link to (rather than cluttering up the results with drafts, revisions etc.).

share|improve this answer
I have the same problem at the moment. I'm starting to write a tutorial with several pages. It would be nice to set up the hierarchy before publishing,... – Sven Dec 3 '13 at 0:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.