We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3a722 commit a8fa2d6Copy full SHA for a8fa2d6
config/page-methods.php
@@ -14,7 +14,7 @@
14
// https://developers.google.com/search/docs/specialty/international/localized-versions#all-method-guidelines
15
$kirbyUrl = $this->kirby()->url('index');
16
$siteUrl = $this->site()->url();
17
- $thisUrl = $this->url();
+ $thisUrl = $this->url($this->kirby()->defaultLanguage()?->code());
18
19
if (strpos($siteUrl, $kirbyUrl) === 0 && strlen($siteUrl) > strlen($kirbyUrl)) {
20
if (strpos($thisUrl, $siteUrl) === 0) {
0 commit comments