tags' ) ) || ( \is_tax() && $this->is_true( 'remove_feed_custom_taxonomies' ) ) ) { $term = \get_queried_object(); $url = \get_term_link( $term, $term->taxonomy ); if ( \is_wp_error( $url ) ) { $url = \home_url(); } $this->redirect_feed( $url, 'We disable taxonomy feeds for performance reasons.' ); } if ( ( \is_post_type_archive() ) && $this->is_true( 'remove_feed_post_types' ) ) { $url = \get_post_type_archive_link( $this->get_queried_post_type() ); $this->redirect_feed( $url, 'We disable post type feeds for performance reasons.' ); } if ( \is_search() && $this->is_true( 'remove_feed_search' ) ) { $url = \trailingslashit( \home_url() ) . '?s=' . \get_search_query(); $this->redirect_feed( $url, 'We disable search RSS feeds for performance reasons.' ); } } /** * Sends a cache control header. * * @param int $expiration The expiration time. * * @return void */ public function cache_control_header( $expiration ) { \header_remove( 'Expires' ); // The cacheability of the current request. 'public' allows caching, 'private' would not allow caching by proxies like CloudFlare. $cacheability = 'public'; $format = '%1$s, max-age=%2$d, s-maxage=%2$d, stale-while-revalidate=120, stale-if-error=14400'; if ( \is_user_logged_in() ) { $expiration = 0; $cacheability = 'private'; $format = '%1$s, max-age=%2$d'; } \header( \sprintf( 'Cache-Control: ' . $format, $cacheability, $expiration ), true ); } /** * Redirect a feed result to somewhere else. * * @param string $url The location we're redirecting to. * @param string $reason The reason we're redirecting. * * @return void */ private function redirect_feed( $url, $reason ) { \header_remove( 'Content-Type' ); \header_remove( 'Last-Modified' ); $this->cache_control_header( 7 * \DAY_IN_SECONDS ); \wp_safe_redirect( $url, 301, 'Yoast SEO: ' . $reason ); exit; } /** * Retrieves the queried post type. * * @return string The queried post type. */ private function get_queried_post_type() { $post_type = \get_query_var( 'post_type' ); if ( \is_array( $post_type ) ) { $post_type = \reset( $post_type ); } return $post_type; } /** * Checks if the value of an option is set to true. * * @param string $option_name The option name. * * @return bool */ private function is_true( $option_name ) { return $this->options_helper->get( $option_name ) === true; } } {"id":1434,"count":1,"description":"","link":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/","name":"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025","slug":"strategie-de-cooperation-cote-divoire-oms-2022-2025","taxonomy":"post_tag","meta":[],"yoast_head":"\nstrat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025 Archives - JusteInfos- Information g\u00e9n\u00e9rale<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025 Archives - JusteInfos- Information g\u00e9n\u00e9rale\" \/>\n<meta property=\"og:url\" content=\"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/\" \/>\n<meta property=\"og:site_name\" content=\"JusteInfos- Information g\u00e9n\u00e9rale\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"CollectionPage\",\"@id\":\"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/\",\"url\":\"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/\",\"name\":\"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025 Archives - JusteInfos- Information g\u00e9n\u00e9rale\",\"isPartOf\":{\"@id\":\"https:\/\/justeinfos.net\/#website\"},\"breadcrumb\":{\"@id\":\"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/#breadcrumb\"},\"inLanguage\":\"fr-FR\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/justeinfos.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/justeinfos.net\/#website\",\"url\":\"https:\/\/justeinfos.net\/\",\"name\":\"JusteInfos- Information g\u00e9n\u00e9rale\",\"description\":\"L'Information-Juste M\u00e9sur\u00e9e ett Sans Passion\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/justeinfos.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025 Archives - JusteInfos- Information g\u00e9n\u00e9rale","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/","og_locale":"fr_FR","og_type":"article","og_title":"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025 Archives - JusteInfos- Information g\u00e9n\u00e9rale","og_url":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/","og_site_name":"JusteInfos- Information g\u00e9n\u00e9rale","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"CollectionPage","@id":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/","url":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/","name":"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025 Archives - JusteInfos- Information g\u00e9n\u00e9rale","isPartOf":{"@id":"https:\/\/justeinfos.net\/#website"},"breadcrumb":{"@id":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/#breadcrumb"},"inLanguage":"fr-FR"},{"@type":"BreadcrumbList","@id":"https:\/\/justeinfos.net\/tag\/strategie-de-cooperation-cote-divoire-oms-2022-2025\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/justeinfos.net\/"},{"@type":"ListItem","position":2,"name":"strat\u00e9gie de coop\u00e9ration C\u00f4te d\u2019Ivoire-OMS 2022-2025"}]},{"@type":"WebSite","@id":"https:\/\/justeinfos.net\/#website","url":"https:\/\/justeinfos.net\/","name":"JusteInfos- Information g\u00e9n\u00e9rale","description":"L'Information-Juste M\u00e9sur\u00e9e ett Sans Passion","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/justeinfos.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"}]}},"_links":{"self":[{"href":"https:\/\/justeinfos.net\/wp-json\/wp\/v2\/tags\/1434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justeinfos.net\/wp-json\/wp\/v2\/tags"}],"about":[{"href":"https:\/\/justeinfos.net\/wp-json\/wp\/v2\/taxonomies\/post_tag"}],"wp:post_type":[{"href":"https:\/\/justeinfos.net\/wp-json\/wp\/v2\/posts?tags=1434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}