How can I do a 301 redirect for the main page ("/") in Webflow to ensure that all external links are redirected to my new domain once I take the old domain offline?
Published on
September 22, 2023
To set up a 301 redirect for the main page ("/") in Webflow, ensuring that all external links are redirected to your new domain once the old domain goes offline, you can follow these steps:
- Log in to Webflow and access your project.
- Go to the Project Settings by clicking on the "Project Settings" icon in the left sidebar.
- In the Project Settings, select the "Hosting" tab.
- Scroll down to the "Redirects" section and click on the "+ Add Redirect" button.
- In the "Original Path" field, enter "/" (without quotes). This represents the root/main page of your website.
- In the "Redirect To" field, enter the full URL of your new domain, including the "http://" or "https://" prefix.
- Leave the "Type" as "Permanent (301)" to ensure that search engines and browsers understand that this is a permanent redirect.
- Optionally, you can enable the "Force redirect to SSL" option if you want to redirect all traffic to the secure version of your new domain.
- Click on the "Create Redirect" button to save your settings.
With these steps, you have successfully set up a 301 redirect for the main page in Webflow, ensuring that all external links to your old domain are redirected to your new domain once you take the old domain offline.
Note: It's important to update any internal links within your website to the new domain to maintain a smooth user experience and avoid broken links.
Additional Questions:
- How do I create a 301 redirect in Webflow?
- Can I redirect specific pages in Webflow?
- What is the difference between a 301 redirect and a 302 redirect?