The "Redirect www to the Root Domain" recipe simplifies the management of your website's domain structure by seamlessly directing all traffic from the "www" subdomain to the root domain. Maintaining consistency in your website's URL structure is essential for various reasons, including search engine optimization (SEO) and avoiding duplicate content issues. This recipe ensures a unified online presence, contributing to a more user-friendly experience and favorable SEO outcomes.
Why Install This Recipe?
Unified Branding and Consistency: Redirecting the "www" subdomain to the root domain presents a unified and consistent web address for your visitors. This cohesive branding contributes to a more professional and trustworthy online image.
SEO Optimization: Search engines consider duplicate content across multiple domains or subdomains as a potential SEO issue. Redirecting "www" to the root domain helps consolidate content and avoids the SEO pitfalls associated with duplicate content.
Preventing Canonicalization Issues: Multiple URLs pointing to the same content can lead to canonicalization problems, where search engines may struggle to determine the primary version of a page. The "Redirect www to the Root Domain" recipe mitigates this issue by establishing a canonical URL.
Enhanced User Experience: A single, consistent URL structure simplifies user navigation and reduces the likelihood of users accessing different versions of the same content inadvertently.
How to install this recipe on my website with redirection.io?
Installing this recipe on your website requires the following steps:
-
Enter the domain: On the configuration page, enter the domain name for which you want to redirect the "
www
" subdomain requests to the root domain. Omit the protocol (http://
orhttps://
). -
Click on the "Install on my website" button: Execute the installation process by clicking the "Install" button. This action creates the necessary rules in "Draft" mode that automatically redirect all "
www
" subdomain requests to the root domain. - Review the created rules: Review the created rules to make sure that they accurately reflect your configuration. If necessary, you can edit the rules before publishing them on your website.
- Publish on your website: Finalize the installation by publishing the rules on your website. This ensures that visitors accessing your site through the "www" subdomain are seamlessly redirected to the root domain, promoting a consistent and user-friendly web experience.