Webflow sync, pageviews & more.
NEW
Answers

How can I prevent visitors from seeing the default Webflow 404 page when they enter my website without the "www." prefix?

To prevent visitors from seeing the default Webflow 404 page when they enter your website without the "www." prefix, you can set up a redirect in your Webflow project. Here's how you can do it:

1. Go to your Webflow project and navigate to the Project Settings by clicking on the gear icon in the left sidebar.

2. In the Project Settings, select the Hosting tab.

3. Scroll down to the "Redirects" section and click on the "+ Add redirect" button.

4. In the "From" field, enter your domain without the "www." prefix. For example, if your domain is "www.example.com" and you want to redirect visitors entering "example.com," you would enter only "example.com" in the "From" field.

5. In the "To" field, enter your full domain with the "www." prefix. In this example, it would be "www.example.com".

6. Choose the redirect type. For this case, you would select "Permanent Redirect (301)".

7. Save your redirect.

By setting up this redirect, any visitor trying to access your website without the "www." prefix will be automatically redirected to the version with the prefix. This will prevent them from seeing the default Webflow 404 page.

It's worth noting that it may take some time for the redirect to propagate across the internet, so don't worry if it doesn't take effect immediately. Additionally, ensure that you have the proper DNS settings in place, allowing traffic to reach your Webflow hosting.

Keep in mind that if you have other subdomains or specific URL structures that you want to redirect, you can set up additional redirects following the same steps mentioned above.

Remember to republish your site after setting up the redirect to ensure the changes take effect.

Rate this answer

Other Webflow Questions