URL Redirects
Overview
The URL Redirects interface allows you to redirect traffic between the www and non-www versions of your domain, and enforce secure HTTPS connections. Use this feature to standardize the canonical URL of your website and ensure visitors always reach a secure, consistent address.
Instructions
1. Enable URL Redirect
- Navigate to the URL Redirects tab in the site's sidebar menu.
- Check the Enable URL Redirect option to activate redirection between the
wwwandnon-wwwversions of your domain. - When enabled, visitors accessing the non-preferred format will be automatically redirected to the preferred URL.
2. Choose the Preferred URL Format
- Under Choose the preferred URL format, select one of the two options. Each option displays the redirect direction inline:
- non-www: Redirects
www.yourdomain.comtoyourdomain.com. - www: Redirects
yourdomain.comtowww.yourdomain.com.
- non-www: Redirects
::: note This option is only enabled when Enable URL Redirect is turned on. :::
3. Enable SSL for the Redirect URL
- Check the Enable SSL for Redirect URL to ensure the redirect target is also served over HTTPS using your SSL certificate.
- When this option is enabled, a warning banner will appear reminding you to verify DNS records for both
wwwandnon-wwwversions.
WARNING
Before enabling Enable SSL for Redirect URL, make sure you have created DNS records for both the www and non-www versions of your domain. If either is missing, the free SSL issuance process will fail.
4. Force SSL
- Check Force SSL to automatically redirect all HTTP traffic to HTTPS.
- This ensures every visitor uses a secure connection, provided your site has an SSL certificate installed.
::: note The Force SSL option is enabled by default for new websites to ensure secure connections. :::
5. Save Changes
- After configuring the options above, click the Update button to apply the settings.
- The button shows a loading spinner while the configuration is being applied to your server.
Notes & Warnings
- Warning: Before enabling Enable SSL for Redirect URL, ensure you have created DNS records for both
wwwandnon-wwwversions of your domain. If either is missing, the free SSL issuance process will fail. - Note: The Force SSL option is enabled by default for new websites to ensure secure connections.
- Note: The preferred URL format selector is disabled until Enable URL Redirect is turned on.
- Note: The Enable SSL for Redirect URL option is disabled until Enable URL Redirect is turned on.