Streaming live at 10am (PST)

Redirecting full path from subdomain?

Hey guys,

Trying to move our WP blog to Webflow! (And switching from subdomain to root domain)

I know I can’t access the .htaccess file for webflow hosting, so I’m curious if anybody has any creative ideas for how to forward a full URL path?

For example:
blog.example.com/about
Redirect to:
example.com/about

It doesn’t seem to be something I can do with the 301 redirect in Webflow because we’re redirecting from a subdomain. (blog.example.com)

Thanks for your input!

1 Like

Hi @eric594

What you can do is:

  1. point your subdomain (CNAME) to proxy-ssl.webflow.com
  2. add your subdomain to your custom domains list in Webflow
  3. Set your www domain as your default domain

Hope this helps :slight_smile:

Hi @PixelGeek - is this still the best method to do redirects from WordPress sites (or anything outside Webflow)?

If we follow your 3 steps above, do we then add redirects as we normally would within Webflow’s Project Settings > “Hosting” tab?

Is it also possible to redirect something like this?

subdomain.oldwebsite.com/pagename
Redirect to:
newwebflowsite.com/about-us

@eric594 - did you have success with this, and did you happen to keep notes on what you did? Thanks!

This is what we have planned:

Add 301 redirects from (blog.)botanicalcraft.com/ > https://botanicalcraft.com/blog/ in Webflow for all blog pages. (will forward once we point blog.botanicalcraft.com to proxy-ssl.webflow.com)

Awesome, thanks very much! Much appreciated @eric594

@PixelGeek - If we follow your 3 steps above, do we then add redirects as we normally would within Webflow’s Project Settings > “Hosting” tab?

Is it also possible to redirect something like this?

oldsubdomain.website.com/pagename (WordPress site)
Redirect to:
website.com/about-us (Webflow site)

Hi @dreweastmead,

Thanks for your post, there are a few steps here:

  1. first create a cname record in your dns settings to point the oldsubdomain.website.com to proxy-ssl.webflow.com.
  2. Add the subdomain to the hosting tab of project settings (note that a site plan is required)
  3. setup a new redirect with the old path being /pagename and the new redirect to the page on the Webflow site you want to redirect to, that being for example /about or whatever other page you want.

If the page name in the old wordpress site has the same page slug like /about in the old site and /about in the new site project in Webflow, you do not need to create a redirect, it is automatic.

I hope this helps, let me know if any questions.

Thank you!! Appreciate the help!

1 Like

@cyberdave - sorry to bother you again. still having issues on this subdomain redirect.

  1. CNAME record pointing subdomain to proxy-ssl.webflow.com = DONE
  2. add subdomain to hosting tab = done

should i add an A record to DNS???

Hi @dreweastmead, the A Record is only needed for the root domain, the research subdomain is setup on a cname record only pointed at proxy-ssl.webflow.com.

When setting the WWW domain as the default domain in Webflow the research subdomain will redirect to the WWW domain automatically.

I hope this helps.

Hey, thank you for you help here really appreciate.
I was wondering if this is possible:

blog.sitename.ai to sitename.ai/blog

cname records have been set up and www.sitename.ai is the default domain.

Could i just 301 redirect old path: /blog.sitename.ai* to the new path: /blog ?

Wouldn’t this redirect my home sitename.ai to sitename.ai/blog intead?

*Is this redirect even possible?

It seems there is a subtle distinction to what people are looking for here. I think example 3 is the issue and not fixable in Webflow at this time.

Example 1:
Can this subdomain: https://blog.mysite.com
Redirect to: https://www.newsite.com
Can this be done…YES :green_circle:

Example 2:
Can this subdomain: https://blog.mysite.com/myoldpost.htm
Redirect to: https://www.newsite.com/blog/myoldpost.htm
Can this be done…YES :green_circle:

Example 3:
Can this subdomain: https://blog.mysite.com
Redirect to: https://www.newsite.com/blog
Can this be done…NO :red_circle:

It looks like many people want to route that example 3 subdomain to a subfolder in a new domain, not to the root. Without access to Htacces in Webflow, doing a Subdomain to Subdirectory 301 Redirect isn’t possible.

However, a workaround outside of webflow appears possible.
Meaning don’t add your “blog.mysite.com” domain to webflow, host it elsewhere and do the redirects there making them match the new blog posts in Webflow.

Google “Subdomain to Subdirectory 301 Redirect” and you’ll see lots of ways to do this. I may give it a shot myself though more cumbersome than having it all nice and tidy in Webflow.

If anyone has any other ideas, would love to hear them.

Hello,

I have a question and I not sure of the answer. Here is my problem :

I currently have my blog Medium with the sub-domain blog.mysite.io.

I’m switching to Webflow on a sub-domain test.mysite.io.

If I connect the domain blog.mysite.io on webflow with test.mysite.io as default domain, can I do those redirections :

I am not sure I can redirect from a subdomain to a folder, I am wrong ?

If anyone has an idea to make it possible, could be nice :slight_smile: