M
M@r(o
Hello,
Could someone please help me out on this problem please ?
All subdomains are redirected tot our main domain www.lelystad.nl and
with javascript redirected to a specific page, eg (Partial):
if (window.location.href == 'http://touristinfo.lelystad.nl' ||
window.location.href == 'http://touristinfo.lelystad.nl/' ||
window.location.href == 'http://www.touristinfo.lelystad.nl' ||
window.location.href == 'http://www.touristinfo.lelystad.nl/') {
window.location.replace("http://www.lelystad.nl/smartsite.shtml?id=50980");
}
This works like a charm for all the stated subdomains in this script.
But whenever someone choose to typ another subdomain which is not
stated in the script I would like to use the subdomainprefix in an URL
to feed the searchengine:
http://www.lelystad.nl/smartsite.shtml?id=search&SArea=alm&SThema=0&zoekterm=SUBDOMAIN
TIA
Grtz,
Marco.
Could someone please help me out on this problem please ?
All subdomains are redirected tot our main domain www.lelystad.nl and
with javascript redirected to a specific page, eg (Partial):
if (window.location.href == 'http://touristinfo.lelystad.nl' ||
window.location.href == 'http://touristinfo.lelystad.nl/' ||
window.location.href == 'http://www.touristinfo.lelystad.nl' ||
window.location.href == 'http://www.touristinfo.lelystad.nl/') {
window.location.replace("http://www.lelystad.nl/smartsite.shtml?id=50980");
}
This works like a charm for all the stated subdomains in this script.
But whenever someone choose to typ another subdomain which is not
stated in the script I would like to use the subdomainprefix in an URL
to feed the searchengine:
http://www.lelystad.nl/smartsite.shtml?id=search&SArea=alm&SThema=0&zoekterm=SUBDOMAIN
TIA
Grtz,
Marco.