Login
·
Signup
Home
»
XtGem
»
Questions about service
»
Domain parking not automatically redirect
» View post
Disaru
4gotten
I'm using Javascript to redirect my original xtgem subdomain to the parked domain
<script>
var newDomain = 'www.myparkeddomain.com';
var thisURI = window.location.href;
if (window.location.hostname != newDomain) {
var newURI = thisURI.replace(window.location.hostname, newDomain);
window.location.replace(newURI);
}
</script>
Copy code
#
2018-03-14 17:24 ·
(1)
Home
»
XtGem
»
Questions about service
»
Domain parking not automatically redirect
» View post
Online: Guests: 1
Log in