On the location overview pages I want to display the locations which I read from the locations in the data container node.
I have a problem with displaying the location detail pages. The url's should be unique for each site.
The only solution I see is creating sort of a pointer doctype that can be created on under the location overview page that points to a location in the data container node.(maybe with an eventhandler when someone creates a location in the container node)
Would url rewriting be a solution? Eg rewrite //domain-a/location-d to /data/locations/location-d?
But then you'd be using the same template for each location-d pages, which might not be what you want.
Another try:
Create a single "location" page under "homepage-a" then use url-rewriting to rewrite //domain-a/location-d to //domain-a/location?loc=location-d. Then in your macro code you can fetch the node corresponding to location-d.
Sharing content across multiple sites
Hi
I'm having the following structure in Umbraco
- Content
Would url rewriting be a solution? Eg rewrite //domain-a/location-d to /data/locations/location-d?
But then you'd be using the same template for each location-d pages, which might not be what you want.
Another try:
Create a single "location" page under "homepage-a" then use url-rewriting to rewrite //domain-a/location-d to //domain-a/location?loc=location-d. Then in your macro code you can fetch the node corresponding to location-d.
is working on a reply...