Mapping Publication IDs to friendly URLs
By default, your Content Service calls refer to Publications by their IDs, not their Web site URLs. For your convenience, you can map a Publication ID to the URL of the site that the Publication ID represents, or to another property of the Publication.
About this task
For example, say that the Publication with ID 12 corresponds to your Japanese Web site, www.example.co.jp. Without friendly URL mapping, your Content Service calls would look something like this:
http://devserver:8080/content.svc/Publications(12)/Pages
But by mapping the Publication with ID 12 to the URL www.example.co.jp, you can write the more understandable:
http://devserver:8080/www.example.co.jp/content.svc/Pages
You can also map to a full URL, including a protocol, port number, and path. Your Content Service call URL would then look something like this:
http://devserver:8080/http://www.example.co.jp:81/a/path/content.svc/Pages