* Graham * Waplocus
should work in the _headtags
any page on your xtgem domain will redirect to the same page on your parked domain
<script type="text/javascript">
    if ("<xt:url type="domain" />" == "davewap.xtgem.com") {
       window.location.href = 'http://www.davewap.cf<xt:url type="path"/>'; 
    }
    </script>

Copy code
Or this
<!--parser:xtscript-->
var $domain=<xt:url type="domain" />
if $domain == davewap.xtgem.com
var $path=<xt:url type="path" />
print <script type="text/javascript">window.location.href = 'http://www.davewap.cf$path'; </script>
endif
<!--/parser:xtscript-->

Copy code
most of it is done on the server (except the actual redirect) and no code shows on the parked domain
2016-09-24 12:11 (edited 2016-09-24 12:36 by Graham ) · (0)

Online: Guests: 1