fix(seo): normalize GPT sitemap push URLs

This commit is contained in:
www
2026-05-09 11:09:00 +08:00
parent 04242363a8
commit b764e7555d
14 changed files with 713 additions and 30 deletions

View File

@@ -606,7 +606,7 @@ class SiteContext
continue;
}
$strLoc = 'https://www.' . $strHost . $strPath;
$strLoc = 'https://' . $strHost . $strPath;
$strLastmod = trim((string)($arrVideo['v_publish_date'] ?? ''));
if ($strLastmod === '') {
$strLastmod = trim((string)($arrVideo['updated_at'] ?? ''));