A trailing slash redirection issue can direct users back to the Webflow subdomain instead of your custom domain. Here's how to address it.
1. Disable Subdomain Indexing
- Go to Project Settings and select the SEO tab.
- Disable the setting allowing Webflow to index the subdomain.
2. Redirect Traffic to Custom Domain
- Ensure that your custom domain is set as the default domain in the Project Settings under Hosting.
- This setting ensures all traffic redirects from the Webflow subdomain to your custom domain.
3. Verify DNS Settings
- Check your custom domain’s DNS settings and verify that they point correctly to Webflow's IP addresses: (a) 75.2.70.75, (b) 99.83.190.102.
- Ensure CNAME records are set up with the Webflow subdomain directing to your custom domain.
4. Enable SSL for the Custom Domain
- Ensure SSL is enabled for your custom domain under the Hosting tab in Project Settings.
- This helps manage redirects securely and properly.
5. Update Redirect Rules
- Visit the Hosting tab in Project Settings.
- Set up 301 redirects for any URLs that may cause issues leading back to the Webflow subdomain.
Summary
Fix the redirect issue by setting your custom domain as the default, correcting DNS settings, disabling subdomain indexing, and configuring redirect rules. These steps will ensure trailing slashes lead users to your intended domain instead of the Webflow subdomain.