When a URL with a trailing slash (e.g., example.com/page/
) redirects to the Webflow subdomain instead of your custom domain, it is usually caused by improper domain settings.
1. Ensure the Correct Default Domain
- Go to Webflow Project Settings > Publishing.
- Under Custom Domains, verify which domain is set as the default (marked with a green check).
- If needed, set your root domain (
example.com
) as default, instead of www.example.com
or vice versa.
2. Check Domain DNS Settings
- Go to your DNS provider (e.g., GoDaddy, Cloudflare, Namecheap).
- Ensure your A records point to Webflow’s servers:
- (a)
75.2.70.75
- (b)
99.83.190.102
- If using
www.example.com
, it should have a CNAME record pointing to proxy-ssl.webflow.com
. - Remove any old or conflicting records that point to another IP.
3. Republish Your Website
- Go to Webflow Project Settings > Publishing and click Publish to Selected Domains.
- Wait a few minutes and test the issue again.
4. Check Webflow Hosting Logs
- In Webflow > Project Settings > Hosting, use the Check Status button to verify domain configuration.
- If Webflow suggests a fix, follow the recommended changes.
5. Try Clearing Cache and Testing
- Clear your browser cache or open the site in an incognito window.
- Test URLs with and without the trailing slash (
/page
vs. /page/
) to confirm they redirect properly.
Summary
To fix the trailing slash redirect issue, set the correct default domain, update DNS records, republish your website, and clear browser cache. If issues persist, recheck Webflow's hosting diagnostics.