What is routing? Routing is when you want a person to visit something like https://clientdomain.com/ to load a different page like /client. And you also want that without the visitor seeing that in the address bar. CoAlais comes with 3 routing types:

Client (proxy)

This routing type loads the TO route and uses client side logic. This solution works in all browser and doesn't impact SEO. The main benefit of this routing type is that if you set a route like:

  • FROM client1.domain.com/* TO /clientpage
  • FROM client1.domain.com/* TO /version-test/clientpage
  • FROM client1.domain.com/* TO /clientpage/slug

It will load clientpage instead of index. Also this route can accept things like params. So loading client1.domain.com?search=all will load /clientpage?search=all

Limit: To open an external page you need to use the open an external page using the bubble plugin

Server (proxy)

Where client (proxy) loads the TO path on the front end, the proxy will load this on the backend. That means routes like:

FROM client1.domain.com/* TO /clientpage

FROM client1.domain.com/* TO /version-test/clientpage

Will load the /clientpage.

Limits: Bubble doesn't support passing slugs and parameters server side. So those won't work.

Auto

The auto functionality is always evolving. It tries to select the best route type for users who don't select any.