How can I redirect the "www" version of my website to the root and point it to my Webflow site?
To redirect the "www" version of your website to the root and point it to your Webflow site, you can follow these steps:
Access your domain's DNS settings: Login to your domain registrar or DNS provider's website and locate the DNS settings for your domain.
Create a CNAME record: Look for the option to add a DNS record and choose CNAME as the record type. Enter "www" as the subdomain and point it to the Webflow.io URL of your site. This URL can be found in your Webflow project settings under the "Hosting" tab.
Save the DNS record: Save the CNAME record in your DNS settings. Note that DNS propagation may take some time for the changes to take effect, usually anywhere between a few minutes to a few hours. You can check the status of your DNS propagation using online tools.
Set up a redirect: To ensure that visitors are automatically redirected from the "www" version to the root domain, you can set up a redirect rule. Login to your Webflow account and go to the project settings for the site you want to redirect.
Navigate to the "Hosting" tab: In the Hosting settings of your Webflow project, scroll down to the "Redirects" section.
Add a redirect rule: Click on the "+ New Redirect" button and enter the "www" version of your domain as the "Old URL" and your root domain (without the "www") as the "New URL". Make sure to select the desired HTTP status code (usually 301 for permanent redirect).
Save the redirect: Once you've added the redirect rule, save your changes and republish your site in Webflow.
By following these steps, you will redirect the "www" version of your website to the root and point it to your Webflow site. This ensures that visitors accessing your site with the "www" subdomain will be automatically redirected to the root domain, providing a consistent experience for all users.
Additional Questions:
- How do I remove the "www" from my Webflow site's URL?
- Can I have multiple redirects set up in Webflow?
- What is the purpose of a CNAME record in DNS settings?