# Multilanguage github.io

**URL:** <https://discourse.gohugo.io/t/multilanguage-github-io/51326>\
**Category:** support\
**Created:** [August 28, 2024, 11:49am UTC](https://discourse.gohugo.io/t/multilanguage-github-io/51326 "2024-08-28T11:49:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvdidenko](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dvdidenko/32/22787_2.png) [@dvdidenko](https://discourse.gohugo.io/u/dvdidenko)\
**Post date:** [August 28, 2024, 11:49am UTC](https://discourse.gohugo.io/t/multilanguage-github-io/51326/1 "2024-08-28T11:49:28Z")

</div>

I made a multilanguage website using [github.io](http://github.io) and, for some unknown reason, english version of website is loading fine, but when I try to change language using button on top-right, instead of redirecting me to [Hugo Academic CV Theme](http://dvdidenko.github.io/ru) (which is working fine btw) it redirects to localhost1313/ru.

I tried to solve this issue for some time but I did not find working solution

---

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [August 28, 2024, 12:04pm UTC](https://discourse.gohugo.io/t/multilanguage-github-io/51326/2 "2024-08-28T12:04:21Z")

</div>

You pushed your site public folder to your repo.

1. The public has been created using `hugo server` that will replace your baseURL with localhost:1313. This is for local testing only.

> To create a public dir that can be served, generate it with `hugo` (without server)

1. You have a build action, that tries to build a jekyll site. No use of that with a hugo generated site.

You might consider to switch to a hugo workflow.

> push your hugo sources (without public folder) and replace your workflow with one using Hugo to generate your site.
> 
> see: [Host on GitHub Pages | Hugo](https://gohugo.io/hosting-and-deployment/hosting-on-github/)
