SaaS CMS has officially launched! Learn more now.

Daniel Ovaska
May 26, 2021
  1367
(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
Optimizely SaaS CMS Concepts and Terminologies

Whether you're a new user of Optimizely CMS or a veteran who have been through the evolution of it, the SaaS CMS is bringing some new concepts and...

Patrick Lam | Jul 15, 2024

How to have a link plugin with extra link id attribute in TinyMce

Introduce Optimizely CMS Editing is using TinyMce for editing rich-text content. We need to use this control a lot in CMS site for kind of WYSWYG...

Binh Nguyen Thi | Jul 13, 2024

Create your first demo site with Optimizely SaaS/Visual Builder

Hello everyone, We are very excited about the launch of our SaaS CMS and the new Visual Builder that comes with it. Since it is the first time you'...

Patrick Lam | Jul 11, 2024

Integrate a CMP workflow step with CMS

As you might know Optimizely has an integration where you can create and edit pages in the CMS directly from the CMP. One of the benefits of this i...

Marcus Hoffmann | Jul 10, 2024