This module allows a site builder to configure a single, conditional page redirect, for use in a "splash page" type scenario.

For example, you may want to automatically redirect users arriving on your default homepage to a different page, perhaps to highlight promotional or time-limited content instead. You may choose to redirect users to any page, internal or external, and therefore your splash page is not restricted to any particular template or node type (the page you wish to redirect to must be created separately and should be already available).

You can set any page on your site to trigger the redirect, and you can easily disable the redirect at any time. The main difference between this module and ones like Splashify is that Splash Redirect sets a cookie to "remember" whether or not a user has seen your splash page. If this cookie is set and not expired, the browser will not redirect the user to the splash page. So in effect, only new users or users who have not visited your page within your defined time frame will see your splash, and returning users will bypass it and continue to the original page.

It is recommended you place a link back to the original source page on your splash page for general usability purposes.

*Important note for Pantheon customers*:
Pantheon's Global CDN caches the initial redirect and will continue to redirect users even if the splash cookie is set. To work around this limitation, please prefix your Splash cookie name with "SESS" (e.g. `SESSsplash`) to bypass the CDN headers.

Pantheon passes all cookies beginning with SESS that are followed by numbers and lowercase characters back to the application. When at least one of these cookies is present, the Global CDN will not try to respond to the request from its cache or store the response.

Project information

Releases