diff --git a/layouts/partials/paige/menu.html b/layouts/partials/paige/menu.html
index 5c5f51b6..303b9a28 100644
--- a/layouts/partials/paige/menu.html
+++ b/layouts/partials/paige/menu.html
@@ -1,6 +1,6 @@
{{ $page := . }}
-{{ $basepath := path.Clean (urls.Parse site.BaseURL).Path }}
+{{ $basepath := path.Clean (urls.Parse (relLangURL "")).Path }}
{{ $pills := false }}
{{ $tabs := false }}
{{ $underline := false }}
diff --git a/layouts/partials/paige/search.html b/layouts/partials/paige/search.html
index 04423c19..201b89a5 100644
--- a/layouts/partials/paige/search.html
+++ b/layouts/partials/paige/search.html
@@ -64,9 +64,9 @@ if (paigeQueryElement !== null) {
function paigeSearch(queryText) {
paigeShow(paigeSearchingElement);
- fetch("{{ absURL `index.json` | safeJS }}").then(function (response) {
+ fetch("{{ relLangURL `index.json` | safeJS }}").then(function (response) {
if (response.status !== 200) {
- console.log("Cannot load /index.json", response);
+ console.log("Cannot load {{ relLangURL `index.json` | safeJS }}", response);
paigeHide(paigeSearchingElement);
paigeShow(paigeErrorElement);
return;