Streaming live at 10am (PST)

301 redirects with multiple different custom domains


#1

I have multiple custom domains added to a single webflow site:

domain1.com
domain2.com
domain3.com
domain4.com

I need to be able to setup different 301 redirects for each domain, for example:

domain1.com/about-us > subdomain.domain1.com/about-us
domain2.com/about-us > subdomain.domain2.com/about-us
domain3.com/about-us > subdomain.domain3.com/about-us
domain4.com/about-us > subdomain.domain4.com/about-us

etc, for every link in each different domain.

The problem is that the 301 'Old Path' does not allow for the domain to be specified, and must start with the page level ( /about-us ):

This means that I can't specify different 301s for the different domains added to webflow. So for example, if domain1.com and domain 2.com both have a page called /about-us – the 301 would send both to the same target.

Any ideas how I can achieve what I need?


EDIT – I've found this post where @samliew suggests this is not possible without hosting elsewhere via .htaccess?


Support for multiple domains in 301 redirects
#2

That is correct. The 301 redirects section in the site settings is not equipped to handle this.


#3

Thanks for confirmation Sam. I've wish-listed it for what it's worth!


#4

This topic was automatically closed after 60 days. New replies are no longer allowed.