diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html
index 7e8257b7..23934aa8 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -1,6 +1,6 @@
{{- if (.Param "ShowBreadCrumbs") -}}
- {{- $url := replace .Parent.Permalink (printf "%s" site.BaseURL) "" }}
+ {{- $url := replaceRE (printf "^%s" site.BaseURL) "" .Parent.Permalink }}
{{- $lang_url := strings.TrimPrefix (printf "%s/" .Lang) $url -}}
{{ i18n "home" | default "Home" }}