Hi Mario, as Jeff said, Webflow doesn’t support redirecting domains.
But there are more problems too;
- Your sitemap.xml will indicate an
hreflang
of x-default
for everything.
- The domain name in your sitemap.xml will be random, since you do not have a default domain set.
- All pages will indicate the same
<html lang>
.
- There is no inbuilt support for
<link rel=alternate ...>
to cross-reference your content.
- CMS content can only exist under one path which means if you have a blog, you’d probably need 3 different blog collections.
Overall, a bad SEO experience.
Hopefully that will change later this year as Multilingual features are added, but it’s important you realize your site won’t SEO well until you address those issues. Most devs go with a solution like Polyflow or Weglot.
Alternatively, you could host these as 3 separate sites, with 3 separate domains and 3 separate language settings, and cross-link them. You’ll get much better results and a far more manageable admin experience.
If you want to ignore all that, and you’re really only interested in redirecting those domains into specific folders, you can do that externally. Some DNS providers offer good domain redirection facility, I use Cloudflare’s DNS and Cloudflare rules for this.
You would need another domain to act as your site’s main domain, let’s call it domain.com
, and that would be the only one identified in Webflow’s site config.
Your 3 lang-specific domains would all be configured externally ( e.g. Cloudflare Rules ) to redirect to their respective folders, e.g. https://www.domain.com/ca/home
Remember redirects will change the domain, so someone typing www.domain.it
will see the URL change to https://www.domain.com/ca/home
. You’ll also need to consider what you want to happen to subpaths like www.domain.it/contattaci
. Does it go to /contattaci
or to /ca/contattaci
or to /ca/home/contattaci
? Cloudflare will allow any of these depending on how you configure it.
Another path, if you really want to keep the site together but split it across domains, is to research reverse proxy setup.