1--- 2title: absLangURL 3description: Adds the absolute URL with correct language prefix according to site configuration for multilingual. 4date: 2017-02-01 5publishdate: 2017-02-01 6lastmod: 2017-02-01 7categories: [functions] 8menu: 9 docs: 10 parent: "functions" 11keywords: [multilingual,i18n,urls] 12signature: ["absLangURL INPUT"] 13workson: [] 14hugoversion: 15relatedfuncs: [relLangURL] 16deprecated: false 17aliases: [] 18--- 19 20Both `absLangURL` and [`relLangURL`](/functions/rellangurl/) are similar to their [`absURL`](/functions/absurl/) and [`relURL`](/functions/relurl) relatives but will add the correct language prefix when the site is configured with more than one language. 21 22So for a site `baseURL` set to `https://example.com/hugo/` and the current language is `en`: 23 24``` 25{{ "blog/" | absLangURL }} → "https://example.com/hugo/en/blog/" 26{{ "blog/" | relLangURL }} → "/hugo/en/blog/" 27``` 28