Hello everyone! My website used to be in two languages, now it’s in one only. Sadly, google search lists the url/sr domain as the first result. I want this URL to redirect to the other /en url. Is that possible through HUGO?

The ideal way is to write some redirect rules on server side with HTTP status codes (depends on the platform you use).

1 Like

You can also try to use aliases in your articles.

If you don’t have access to server-side redirects, you can also add meta-refresh to your pages: H76: Using meta refresh to create an instant client-side redirect | WAI | W3C

That’s exactly what aliases do.

Using Hugo’s aliases to redirect all content pages of one language to another language would be messy and not terribly scalable. See @razon’s answer.

1 Like