200 OK when page is a draft (404)
-
I am working on an intranet site where we will soon be moving a lot of pages to drafts, effectively making them unavailable to most users. I’d like to use Broken Link Checker to check behind us to remove links on other pages to those drafts/unpublished pages. However during testing I am running into the link checker actually reporting pages that are drafts as 200 OK.
Steps:
– Edit a published page, set as a draft, save
– Move the page to be a child under a different folder (‘archive’)
– Test the page’s old URL – it 404s (good so far)
– Look up the old URL in the links list of broken link checker, tell it to check again
– It shows as 200 OK, despite the steps above and the fact that it actually 404s on the blogMy guess is that drafts won’t show as 404s for some reason. Is there a better way to approach once published pages, but are now drafts?
- The topic ‘200 OK when page is a draft (404)’ is closed to new replies.