In my wordpress site I have different posts and pages. I want that google only index those pages which are published. The 'DRAFT' pages should not be indexed by google.

What is the best way to achieve this. There is an API from google called GOOGLE INDEXING API which perform this task but there is no wordpress plugin available.

Can any wordpress expert help in this regard?


  • Google won’t index draft pages. It can’t access them. Is this even a problem you’ve experienced? Mar 14 '19 at 11:00
  • I have a draft page, after 1 day I have make it published. After publishing it should be indexed by google. Then again after 1 month I have changed its status to Draft. In that case that page should be deleted from google index. Hope you understand now.
    – Eshban
    Mar 14 '19 at 11:53

Your Answer

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

Browse other questions tagged or ask your own question.