# Landing-page URL without language-code

**URL:** <https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760>\
**Category:** support\
**Created:** [November 12, 2019, 1:18pm UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760 "2019-11-12T13:18:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dktue](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dktue/32/8653_2.png) [@dktue](https://discourse.gohugo.io/u/dktue)\
**Post date:** [November 12, 2019, 1:18pm UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/1 "2019-11-12T13:18:49Z")

</div>

On my (multilingual) website I have a landing-page which is reacheable under [example.com/en/landingpage-slug/](http://example.com/en/landingpage-slug/).

I would like to make it available under [example.com/landingpage-slug/](http://example.com/landingpage-slug/).

Any idea how to configure this?

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [November 12, 2019, 1:23pm UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/2 "2019-11-12T13:23:31Z")

</div>

Hi,

You can configure your default language, which will then render under `/`: [https://gohugo.io/content-management/multilingual/#configure-languages](https://gohugo.io/content-management/multilingual/#configure-languages)

---

<div class="post-metadata">

**Author:** ![dktue](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dktue/32/8653_2.png) [@dktue](https://discourse.gohugo.io/u/dktue)\
**Post date:** [November 13, 2019, 3:36pm UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/3 "2019-11-13T15:36:40Z")

</div>

Thats a good workaround, but landingpages exist not only for the default language but also other languages. How to deal with that?

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [November 14, 2019, 12:21am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/4 "2019-11-14T00:21:10Z")

</div>

> [@dktue](#):
>
> landingpages exist not only for the default language but also other languages

Well, `/` can’t both be `en` and `de`, for example.

---

<div class="post-metadata">

**Author:** ![dktue](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dktue/32/8653_2.png) [@dktue](https://discourse.gohugo.io/u/dktue)\
**Post date:** [November 14, 2019, 8:01am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/5 "2019-11-14T08:01:53Z")

</div>

I want this only for pages of a special folder to be rendered into `/`. The slugs will be unique for all languages. Any suggestions?

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [November 14, 2019, 9:55am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/6 "2019-11-14T09:55:44Z")

</div>

Could you post a map to show what pages should render to what url? Better yet, do you have a sample repo to show what you are trying to do?

---

<div class="post-metadata">

**Author:** ![dktue](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dktue/32/8653_2.png) [@dktue](https://discourse.gohugo.io/u/dktue)\
**Post date:** [November 14, 2019, 10:14am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/7 "2019-11-14T10:14:20Z")

</div>

I organized my content in the following directory-structure within content:

- en  
\*\* articles  
\*\*\* some-content  
\*\* landingpages  
\*\*\* campaign
- de  
\*\* articles  
\*\*\* ein-inhalt  
\*\* landingpages  
\*\*\* kampagne
- fr  
\*\* articles  
\*\*\* un-contenu  
\*\* landingpages  
\*\*\* campagne

The URLs render nicely in the following permalinks:

- [example.com/en/some-content](http://example.com/en/some-content)
- [example.com/en/campaign](http://example.com/en/campaign)
- [example.com/de/ein-inhalt](http://example.com/de/ein-inhalt)
- [example.com/de/kampagne](http://example.com/de/kampagne)
- [example.com/fr/un-contenu](http://example.com/fr/un-contenu)
- [example.com/fr/campagne](http://example.com/fr/campagne)

But I would like it to be rendered like the following:

- [example.com/en/some-content](http://example.com/en/some-content)
- [example.com/campaign](http://example.com/campaign)
- [example.com/de/ein-inhalt](http://example.com/de/ein-inhalt)
- [example.com/kampagne](http://example.com/kampagne)
- [example.com/fr/un-contenu](http://example.com/fr/un-contenu)
- [example.com/campagne](http://example.com/campagne)

---

<div class="post-metadata">

**Author:** ![ndalliard](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ndalliard/32/9935_2.png) [@ndalliard](https://discourse.gohugo.io/u/ndalliard)\
**Post date:** [November 14, 2019, 10:26am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/8 "2019-11-14T10:26:04Z")

</div>

I thought `permalink` in the frontmatter should do it. But it doesn’t.

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [November 14, 2019, 10:39am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/9 "2019-11-14T10:39:01Z")

</div>

> [@dktue](#):
>
> `example.com/kampagne`

You could try defining aliases: [URL management | Hugo](https://gohugo.io/content-management/urls/#aliases)

---

<div class="post-metadata">

**Author:** ![dktue](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dktue/32/8653_2.png) [@dktue](https://discourse.gohugo.io/u/dktue)\
**Post date:** [November 14, 2019, 10:42am UTC](https://discourse.gohugo.io/t/landing-page-url-without-language-code/21760/10 "2019-11-14T10:42:09Z")

</div>

Awesome, @pointyfar. It works!
