Incapsula`s Content Delivery Network (CDN) uses a global grid of an interconnected high-performance servers to improve website performance and availability; leveraging its size and strategic positioning to efficiently serve content to numerous visitors simultaneously.
Regrettably, due to the limitations of DNS/Name Server configuration “naked” domain names [i.e. domain.com] cannot benefit from Geo-location technology provided by such CDNs.
Traditionally, this issue is solved by creating a set of generic rewrite rules to re-route all visitors from “naked” domain URLs to corresponding “full” domain URLs [i.e. by editing a .htaccess file], but here at Incapsula, we wanted to offer our users a simple ,more elegant, solution.
That's why we implemented the Domain Redirection feature that will allow you to solve your “naked” domain compatibility issues with (literally) just one click.
Activating Domain Redirection
To enable this new feature, you need to log in to Incapsula Management Console and go to: Settings >> General >> Site Settings >> Domain Redirection.
Once there, simply click on the checkbox, and from this point onward all requests to “naked” domain URLs will be redirected to “full” domain [i.e.
www.domain.com ] counterparts in a SEO friendly manner.
Important: Before using this feature please make sure that your “full” domain [i.e.
www.domain.com ] is not already redirected to “naked” domain on your server; as an endless loop is imminent.
How does it work?
Once the Domain Redirection is activated all “naked” URL requests will be permanently redirected (301). At that point your visitor will be automatically ushered to the corresponding “full” domain URL, which will load from our nearest proxy using our full CDN acceleration and optimization capabilities. Locally, this action will also be cached by the visitor`s browser to improve site performance for repeat visits.
Also Better for SEO!
From a SEO standpoint, canonicalization of website “full” and “naked” URLs is long considered “best practice”. Canonicalization of website is mainly done for the need to gain better control over your external link profile. This is essential as, technically “naked” and “full” version of the same URLs represent two different web pages, and so external links that point to the “naked” URLs will not benefit the “full” ones (and vice versa). Another reason for website canonicalization, is to prevent unintentional content redundancy also know as “duplicated content” issue. By consolidating the “full” and “naked” URLs and by improving site speed (also an important SEO factor), Domain Redirection feature is really a “2-in-1” tool that will complement your other existing SEO assets.