| @@ -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 | /** |