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.

<script>
   if (document.location.href.indexOf('DOMAINNAMEHERE.com') > 0) 
      document.location.href = "http://DOMAINNAMEHERE.com/PAGE.html"; 
</script> 


*Replace DOMAINNAMEHERE.com 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

assistly@premium-webhelp.com
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete