Daniel Ovaska
May 26, 2021
  1437
(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
Copy Optimizely SaaS CMS Settings to ENV Format Via Bookmarklet

Do you work with multiple Optimizely SaaS CMS instances? Use a bookmarklet to automatically copy them to your clipboard, ready to paste into your e...

Daniel Isaacs | Dec 22, 2024 | Syndicated blog

Increase timeout for long running SQL queries using SQL addon

Learn how to increase the timeout for long running SQL queries using the SQL addon.

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Overriding the help text for the Name property in Optimizely CMS

I recently received a question about how to override the Help text for the built-in Name property in Optimizely CMS, so I decided to document my...

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Resize Images on the Fly with Optimizely DXP's New CDN Feature

With the latest release, you can now resize images on demand using the Content Delivery Network (CDN). This means no more storing multiple versions...

Satata Satez | Dec 19, 2024