From 824fb62a7661a76d060ac71e3ae30bbcf48f320d Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 5 Apr 2024 12:49:36 +0200 Subject: [PATCH] Fix: URL instead of URI (#63) --- src/Http/Controllers/SitemapController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Controllers/SitemapController.php b/src/Http/Controllers/SitemapController.php index c488c57..e121150 100644 --- a/src/Http/Controllers/SitemapController.php +++ b/src/Http/Controllers/SitemapController.php @@ -88,7 +88,7 @@ private static function entryAbsoluteUrl(Entry $entry) { // if seotamic headless mode is set, use that domain, otherwise use the entry absoluteUrl if (config('seotamic.headless_mode')) { - return config('seotamic.headless_mode') . $entry->uri(); + return config('seotamic.headless_mode') . $entry->url(); } return $entry->absoluteUrl();