1

I have a holiday sale page that no longer applies as the holidays have past.

  • I want to keep the page for future design reference.
  • I do not want the page to be accessible from the Internet.

I tried:

  • Setting the page status to Pending Review
  • Setting the page status to Draft

Neither of these status changes seem to have any effect as the page is still visible at the URL. I am not even sure why these settings exist for pages.

I could password protect or set the page to private, but neither option unpublishes the page.

I could do a 301 redirect, but I would prefer not to use this method. (SEO impact of 301 redirects.)

Is there no other option?

  • 3
    You are logged as admin. If you were not what would you get? – prosti Jan 12 '17 at 13:59
  • 2
    There is nowhere near enough information here - have you tested when logged out? Are you using a caching plugin? What's your hosting setup? – TheDeadMedic Jan 12 '17 at 14:02
  • @prosti You are right. When I logged out the URL generated a 404. Why can I see the page when logged in? Is this documented somewhere in the codex? – nu everest Jan 12 '17 at 15:08
  • @nueverest I tried to answer the best I could. – prosti Jan 12 '17 at 16:37
2

When I logged out the URL generated a 404.

Correct.

Why can I see the page when logged in? Is this documented somewhere in the codex?

I think this is something that codex has but some parts are still not written, like this part for draft. In the case of draft post your permalink will look like this:

?p=2898&preview=true

And it is not available when you are not logged out as you noted — 404 error page is what you will get.

The same error you will get also for the pending review status when you are not logged in, but the permalink will be the same as for the published post if you are logged in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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