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();