{"id":391,"date":"2011-11-09T02:49:56","date_gmt":"2011-11-09T07:49:56","guid":{"rendered":"https:\/\/www.bodhost.com\/blog\/?p=391"},"modified":"2026-02-26T13:59:06","modified_gmt":"2026-02-26T13:59:06","slug":"drupal-rules-unpublish-a-node-after-a-given-period-x-days","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/","title":{"rendered":"Drupal Guide to Unpublish a Node After Certain Days"},"content":{"rendered":"\r\n<p>Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules<\/p>\r\n\r\n\r\n\r\n<p>First, what does the module Rules?<\/p>\r\n\r\n\r\n\r\n<p>Rules can be viewed as an evolution of the core module and the trigger is the enhanced version of Drupal 6 work flowing to Drupal 5.<\/p>\r\n\r\n\r\n\r\n<p>Rules allow you to discover events, and perform actions (post a comment, send an email &#8230;) automatically with the possibility of moving conditions.<\/p>\r\n\r\n\r\n\r\n<p>Here is a small how-to to un-publish content after a certain time, it could be 15 days, 30 seconds, Wednesday, Nov 09 \u2026<\/p>\r\n\r\n\r\n\r\n<p>First, you must install the Rules.<\/p>\r\n\r\n\r\n\r\n<p><strong>Creating Rule Sets<\/strong><strong>: Go to \/ admin\/rules \/ rule_sets<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Click on &#8220;Add a new rule set&#8221;.<\/li>\r\n\r\n\r\n\r\n<li>Add a title, eg &#8220;Unpublish content {} rule set&#8221; with the name and machine-readable &#8220;unpublish_content.&#8221;<\/li>\r\n\r\n\r\n\r\n<li>In the Arguments, select &#8220;Content&#8221; as the data type, enter &#8220;Content {argument}&#8221; as a title, and &#8220;unpublish_content_content&#8221; as the machine-readable name.<\/li>\r\n\r\n\r\n\r\n<li>Then save your form.<\/li>\r\n\r\n\r\n\r\n<li>You will be redirected to the overview of the rule sets and you can see the rule set that you just created.<\/li>\r\n\r\n\r\n\r\n<li>Then click on it and add a new rule by clicking the &#8220;Add new rule&#8221;<\/li>\r\n\r\n\r\n\r\n<li>Add a title such as &#8220;Unpublish {action} rule&#8221; and click Save.<\/li>\r\n\r\n\r\n\r\n<li>You will then be on a page for editing the rule click on &#8220;Add an action.&#8221;<\/li>\r\n\r\n\r\n\r\n<li>You will have a selection list, you should choose &#8220;Node | Remove the contents of the publication&#8221; (NOT &#8220;Rule Set | Publish content&#8221;!) And confirm by clicking Next.<\/li>\r\n\r\n\r\n\r\n<li>You have nothing to do normally in the form on which you have been directed, except change the title to &#8220;Unpublish content {action}&#8221; to more easily track and then save.<\/li>\r\n\r\n\r\n\r\n<li>Go to the page admin\/rules \/ rule_sets and click on your rule (rule Unpublish content {set})<\/li>\r\n\r\n\r\n\r\n<li>Then click on the action (action {rule} Unpublish) to edit<\/li>\r\n\r\n\r\n\r\n<li>Add Action and select &#8220;Schedule Unpublish content\u00bb<\/li>\r\n\r\n\r\n\r\n<li>Choose the identifier [unpublish_content_content: nest] if you follow the terms I used, otherwise fit the machine-readable name given in the above arguments.<\/li>\r\n\r\n\r\n\r\n<li>Set the date of execution, for example, 2011-12-12 10:33:55 or &#8220;one day&#8221;, you can refer to the PHP formats strtotime ()<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Creation of or triggers (trigger)<\/strong>: <strong>Go to \/ admin\/rules\/trigger<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Click on &#8220;Add a New Rule&#8221;<\/li>\r\n\r\n\r\n\r\n<li>Choose to label &#8220;Unpublish content triggered rule {}&#8221;<\/li>\r\n\r\n\r\n\r\n<li>Select &#8220;Node | After saving new content&#8221; and save<\/li>\r\n\r\n\r\n\r\n<li>Add Action<\/li>\r\n\r\n\r\n\r\n<li>Select &#8220;Rule Scheduler | Schedule rule Unpublish content {set}&#8221;<\/li>\r\n\r\n\r\n\r\n<li>Add Condition &#8220;Node | Content is published &#8216;<\/li>\r\n\r\n\r\n\r\n<li>You can also add a requirement for a given content type, why add a new condition<\/li>\r\n\r\n\r\n\r\n<li>And select &#8220;Node | Content Type as&#8221; and choose your or your content types.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Well, your rule is created and will be executed each time when the cron runs. I hope this tutorial has helped you a little.<\/p>\r\n\r\n\r\n\r\n<p>Looking for fast, reliable, and secure hosting solutions for your expanding website? Check here our\u00a0<a title=\"web hosting services\" href=\"https:\/\/www.bodhost.com\/\" target=\"_blank\" rel=\"noopener\">web hosting services<\/a>.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules First, what does the module Rules? Rules can be viewed as an evolution of the core module and the trigger is the enhanced version of Drupal [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[108,109],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-cms","tag-drupal","tag-drupal-rules"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"bodHOST | Web Hosting - Tips &amp; Tricks\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Drupal Guide: Auto-Unpublish a Node After Certain Days\" \/>\n\t\t<meta property=\"og:description\" content=\"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-11-09T07:49:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-02-26T13:59:06+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Drupal Guide: Auto-Unpublish a Node After Certain Days\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#article\",\"name\":\"Drupal Guide: Auto-Unpublish a Node After Certain Days\",\"headline\":\"Drupal Guide to Unpublish a Node After Certain Days\",\"author\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/favicon.png\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/#articleImage\",\"width\":40,\"height\":40,\"caption\":\"favicon\"},\"datePublished\":\"2011-11-09T02:49:56+00:00\",\"dateModified\":\"2026-02-26T13:59:06+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#webpage\"},\"articleSection\":\"CMS, Drupal, Drupal - Rules\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/category\\\/cms\\\/#listItem\",\"name\":\"CMS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/category\\\/cms\\\/#listItem\",\"position\":2,\"name\":\"CMS\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/category\\\/cms\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#listItem\",\"name\":\"Drupal Guide to Unpublish a Node After Certain Days\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#listItem\",\"position\":3,\"name\":\"Drupal Guide to Unpublish a Node After Certain Days\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/category\\\/cms\\\/#listItem\",\"name\":\"CMS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/#organization\",\"name\":\"bodHOST\",\"description\":\"Web Hosting - Tips & Tricks\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/favicon.png\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#organizationLogo\",\"width\":40,\"height\":40,\"caption\":\"favicon\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62c629076fffafb51ab8d31ff4b947f645c1a0e72d22f02d42a3cce51c92c9a2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/\",\"name\":\"Drupal Guide: Auto-Unpublish a Node After Certain Days\",\"description\":\"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2011-11-09T02:49:56+00:00\",\"dateModified\":\"2026-02-26T13:59:06+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/\",\"name\":\"bodHOST\",\"description\":\"Web Hosting - Tips & Tricks\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Drupal Guide: Auto-Unpublish a Node After Certain Days","description":"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules","canonical_url":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#article","name":"Drupal Guide: Auto-Unpublish a Node After Certain Days","headline":"Drupal Guide to Unpublish a Node After Certain Days","author":{"@id":"https:\/\/www.bodhost.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.bodhost.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png","@id":"https:\/\/www.bodhost.com\/blog\/#articleImage","width":40,"height":40,"caption":"favicon"},"datePublished":"2011-11-09T02:49:56+00:00","dateModified":"2026-02-26T13:59:06+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#webpage"},"articleSection":"CMS, Drupal, Drupal - Rules"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bodhost.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog\/category\/cms\/#listItem","name":"CMS"}},{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog\/category\/cms\/#listItem","position":2,"name":"CMS","item":"https:\/\/www.bodhost.com\/blog\/category\/cms\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#listItem","name":"Drupal Guide to Unpublish a Node After Certain Days"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#listItem","position":3,"name":"Drupal Guide to Unpublish a Node After Certain Days","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bodhost.com\/blog\/category\/cms\/#listItem","name":"CMS"}}]},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/blog\/#organization","name":"bodHOST","description":"Web Hosting - Tips & Tricks","url":"https:\/\/www.bodhost.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#organizationLogo","width":40,"height":40,"caption":"favicon"},"image":{"@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/blog\/author\/admin\/#author","url":"https:\/\/www.bodhost.com\/blog\/author\/admin\/","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/62c629076fffafb51ab8d31ff4b947f645c1a0e72d22f02d42a3cce51c92c9a2?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#webpage","url":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/","name":"Drupal Guide: Auto-Unpublish a Node After Certain Days","description":"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.bodhost.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bodhost.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.bodhost.com\/blog\/author\/admin\/#author"},"datePublished":"2011-11-09T02:49:56+00:00","dateModified":"2026-02-26T13:59:06+00:00"},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/blog\/#website","url":"https:\/\/www.bodhost.com\/blog\/","name":"bodHOST","description":"Web Hosting - Tips & Tricks","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.bodhost.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"bodHOST | Web Hosting - Tips &amp; Tricks","og:type":"article","og:title":"Drupal Guide: Auto-Unpublish a Node After Certain Days","og:description":"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules","og:url":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/","og:image":"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png","og:image:secure_url":"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png","article:published_time":"2011-11-09T07:49:56+00:00","article:modified_time":"2026-02-26T13:59:06+00:00","twitter:card":"summary","twitter:title":"Drupal Guide: Auto-Unpublish a Node After Certain Days","twitter:description":"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules","twitter:image":"https:\/\/www.bodhost.com\/blog\/wp-content\/uploads\/2026\/07\/favicon.png"},"aioseo_meta_data":{"post_id":"391","title":"Drupal Guide: Auto-Unpublish a Node After Certain Days","description":"Here is a small howto that will show you how to unpublish a node after a given time can be in days, in seconds, Drupal uses the module Rules","keywords":null,"keyphrases":{"focus":{"keyphrase":"Drupal","score":100,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":[],"keyphraseInImageAlt":[],"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-05-18 14:27:19","updated":"2026-02-27 09:20:10","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bodhost.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bodhost.com\/blog\/category\/cms\/\" title=\"CMS\">CMS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDrupal Guide to Unpublish a Node After Certain Days\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bodhost.com\/blog"},{"label":"CMS","link":"https:\/\/www.bodhost.com\/blog\/category\/cms\/"},{"label":"Drupal Guide to Unpublish a Node After Certain Days","link":"https:\/\/www.bodhost.com\/blog\/drupal-rules-unpublish-a-node-after-a-given-period-x-days\/"}],"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":10,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":7420,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts\/391\/revisions\/7420"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}