Support Center

Redirect a domain to a specific page of a site

Last Updated: Feb 11, 2014 07:51AM EST
Place this snippet on the HOME page in order to get a domain (which is already pointed to the system, and already entered in Site Properties) to open a specific page of a site.

   if (document.location.href.indexOf('') > 0) 
      document.location.href = ""; 

*Replace with the real domain.

NOTE: This snippet is provided as is, with no express or implied warranty for accuracy or accessibility.

Liquid error: undefined method `gsub' for nil:NilClass
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found