PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/actions/indexables/indexable-head-action.php +3 -0 18.3 → trunk View file →
@@ -40,8 +40,11 @@
40 40 *
41 41 * @return object Object with head and status properties.
42 42 */
43 43 public function for_url( $url ) {
44 + if ( $url === \trailingslashit( \get_home_url() ) ) {
45 + return $this->with_404_fallback( $this->with_cache( 'home_page' ) );
46 + }
44 47 return $this->with_404_fallback( $this->with_cache( 'url', $url ) );
45 48 }
46 49
47 50 /**