diff --git a/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php b/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
index 3ec20bf23f..233396b7f8 100644
--- a/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
+++ b/src/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
@@ -101,7 +101,7 @@ class WP_Sitemaps_Posts extends WP_Sitemaps_Provider {
 		if ( 'page' === $post_type && 1 === $page_num && 'posts' === get_option( 'show_on_front' ) ) {
 			// Extract the data needed for home URL to add to the array.
 			$sitemap_entry = array(
-				'loc' => home_url(),
+				'loc' => home_url( '/' ),
 			);
 
 			/**
