How can I redirect my WordPress website to the non-www version after switching to Webflow?

TL;DR
  • In Webflow, set the non-www domain as the default under Hosting settings.  
  • Update DNS: add A records for the root domain (75.2.70.75 and 99.83.190.102) and a CNAME for www pointing to proxy-ssl.webflow.com.  
  • Wait 24–48 hours for DNS propagation to complete redirection.

You've switched your site from WordPress to Webflow and now want to redirect all www traffic to the non-www version. Here’s how to ensure proper URL redirection in Webflow.

1. Set the Preferred Domain in Webflow

  • Go to Project Settings in your Webflow dashboard.
  • Open the Hosting tab.
  • Scroll to the Custom Domains section.
  • You'll see all the domains linked to your Webflow project (e.g., yourdomain.com and www.yourdomain.com).
  • Click the "Make default" checkbox next to the non-www domain (e.g., yourdomain.com).

This tells Webflow to redirect any requests for www.yourdomain.com to yourdomain.com.

2. Update DNS Records

To ensure both domains work and redirect properly, you need to add the correct DNS records with your domain registrar (e.g., GoDaddy, Namecheap, etc.):

  • For A Records (pointing to Webflow):
  • Add two A records for the root domain (yourdomain.com):
    • (a) 75.2.70.75
    • (b) 99.83.190.102

  • For CNAME Record (for www):
  • Add one CNAME record:
    • Namewww
    • Valueproxy-ssl.webflow.com

Make sure to remove any other conflicting A or CNAME records.

3. Wait for DNS Propagation

  • DNS updates may take up to 24–48 hours to fully propagate.
  • After propagation, typing www.yourdomain.com will auto-redirect to yourdomain.com.

Summary

To force a redirect from www to non-www in Webflow, set the non-www domain as default under Hosting settings and configure DNS with the correct A and CNAME records. This ensures Webflow properly handles the redirection without needing WordPress or other server rules.

Rate this answer

Other Webflow Questions