Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi All,
I have a scenario where I would like to do the following
I have site.com.au, site.co.nz, site.com
all the pages for these sites will be the same with the exception of a competition area on the site.
occasionally the client would like to run a separate competition based on certain domains
i.e. site.com.au will have prize money displayed in AUD and a different prize to a competition running in site.co.nz
i was thinking of the following maybe sharing hostnames from the root node but then for competitions set up something like
http://www.site.com.au/au-competition
http://www.site.co.nz/nz-competition
is there any way to do it so i could just have
http://www.site.co.nz/competition
http://www.site.com.au/competition
serve different competition pages based on the same end part of the url? short of mirroring the entire site for each domain?
Thanks,
Tom
I would really prefer not to have to duplicate my tree for each domain
just have certain nodes in the tree that i can apply to certain domains..
i.e.
Home - bound to http://www.domain.com.au, www.domain.co.nz
- Products - bound to both as is a child of home
- Competitions NZ - bound to www.domain.co.nz/competitions-nz
- Competitions AU - bound to www.domain.com.au/competitions-au
- About Us - bound to both as a child of home
etc
I'm not sure if this will work, but you could set up the competition pages like you want:
/competitions-nz/competitions-au
and then use URL re-writing (/config/urlrewriting.config) to get the desired URL.
<add name="nzcompetition" virtualUrl="(.*)://www.site.co.nz/competition(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="$1://www.site.co.nz/competitions-nz$2" ignoreCase="true" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Manage Hostnames Scenario
Hi All,
I have a scenario where I would like to do the following
I have site.com.au, site.co.nz, site.com
all the pages for these sites will be the same with the exception of a competition area on the site.
occasionally the client would like to run a separate competition based on certain domains
i.e. site.com.au will have prize money displayed in AUD and a different prize to a competition running in site.co.nz
i was thinking of the following maybe sharing hostnames from the root node but then for competitions set up something like
http://www.site.com.au/au-competition
http://www.site.co.nz/nz-competition
is there any way to do it so i could just have
http://www.site.co.nz/competition
http://www.site.com.au/competition
serve different competition pages based on the same end part of the url? short of mirroring the entire site for each domain?
Thanks,
Tom
I would really prefer not to have to duplicate my tree for each domain
just have certain nodes in the tree that i can apply to certain domains..
i.e.
Home - bound to http://www.domain.com.au, www.domain.co.nz
- Products - bound to both as is a child of home
- Competitions NZ - bound to www.domain.co.nz/competitions-nz
- Competitions AU - bound to www.domain.com.au/competitions-au
- About Us - bound to both as a child of home
etc
I'm not sure if this will work, but you could set up the competition pages like you want:
/competitions-nz
/competitions-au
and then use URL re-writing (/config/urlrewriting.config) to get the desired URL.
<add name="nzcompetition"
virtualUrl="(.*)://www.site.co.nz/competition(.*)"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="$1://www.site.co.nz/competitions-nz$2"
ignoreCase="true" />
is working on a reply...