November Happy Hour will be moved to Thursday December 5th.

Daniel Ovaska
May 26, 2021
  1427
(0 votes)

Switching language as editor returns 404 Not found

Short blog post about an issue I had with a website that might help others with the same problem. For a while I've had the problem that when switching language in edit mode using the normal menu it doesn't work and returns a 404.

All other functionality seems to work fine however and changing the language in querystring instead also works as a workaround. Today I got bored and started bug hunting and found the solution. It's an https site but was missing the https protocol setting in admin. The scheme is missing in the host name setting below.

Editing the protocol and setting the site to https correctly fixed the issue

Such a simple solution to a weird problem with switching language! Hope it helps someone!

Happy coding!

May 26, 2021

Comments

Please login to comment.
Latest blogs
AsyncHelper can be considered harmful

.NET developers have been in the transition to move from synchronous APIs to asynchronous API. That was boosted a lot by await/async keyword of C#...

Quan Mai | Dec 4, 2024 | Syndicated blog

The search for dictionary key

Recently I helped to chase down a ghost (and you might be surprised to know that I, for most part, spend hours to be a ghostbuster, it could be fun...

Quan Mai | Dec 4, 2024 | Syndicated blog

Shared optimizely cart between non-optimizley front end site

E-commerce ecosystems often demand a seamless shopping experience where users can shop across multiple sites using a single cart. Sharing a cart...

PuneetGarg | Dec 3, 2024

CMS Core 12.22.0 delisted from Nuget feed

We have decided to delist version 12.22.0 of the CMS Core packages from our Nuget feed, following the discovery of a bug that affects rendering of...

Magnus Rahl | Dec 3, 2024

Force Login to Optimizely DXP Environments using an Authorization Filter

When working with sites deployed to the Optimizely DXP, you may want to restrict access to the site in a particular environment to only authenticat...

Chris Sharp | Dec 2, 2024 | Syndicated blog

Video Guides: Image Generation Features in Optimizely

The AI Assistant for Optimizely now integrates seamlessly with Recraft AI, providing advanced image generation capabilities directly within your...

Luc Gosso (MVP) | Dec 1, 2024 | Syndicated blog