Ensuring the correct canonical URL is set on your Webflow site helps prevent duplicate content issues and improves SEO performance. Here's how to set it up:
1. Access Project Settings
- Go to your Webflow Dashboard and select the project you wish to edit.
- Click on Project Settings.
2. Set Default Domain
- Under Hosting, scroll to the Custom Domains section.
- Identify the primary domain that you want all canonical URLs to point to.
- Set this domain as the Default Domain by clicking the star icon next to it.
3. Enable Canonical URL
- Navigate to the SEO tab within the Project Settings.
- Ensure that ‘Disable Subdomain Indexing’ is checked to prevent indexing of unwanted subdomains.
- Webflow will automatically generate the correct canonical tag pointing to your default domain when this setup is complete.
4. Publish Your Site
- Publish your site to the selected domains.
- Double-check that the canonical tags are appearing correctly by viewing the page source.
5. Verify Once Deployed
- Use SEO tools or your browser’s inspect element feature to verify the canonical tag in the HTML of web pages.
- Ensure they point to the primary domain as set in the default domain settings.
Summary
By setting your primary domain as the default domain in Webflow, and enabling the appropriate SEO settings, Webflow will automatically apply the correct canonical URLs to your web pages upon publishing.