Configuring Linking
The cd_link_conf.xml is the Dynamic Link Resolver configuration file where you can configure optional Publication-specific settings that are used to resolve links.
About this task
Note: A Publication's Publication URL and Images URL properties determine where content is published. These settings also influence the way in which the Dynamic Link Resolver generates and uses links.
Procedure
- Open cd_link_conf.xml located in the
config\subdirectory of your Content Delivery root location in a plain-text editor or XML editor.<Publication Id="1"> <Host Domain="localhost" Port="80" Path="" Protocol="http"/> <Linking ComponentAnchors="false" AddComponentLinkInfo="false"/> </Publication> </Publications> - In the
<Host>element, specify information about the website that creates URLs for Dynamic Links. - In the
<Linking>element, specify additional information about the generation of links:- set
ComponentAnchorstotrueto adds anchors to Component Links (to allow jumping to the targeted Component Presentation). - set
AddComponentLinkInfototrueto add additional infomation to the query string of a Component Link URL (used by the WAI for Component link tracking).
- set
- Save and close the cd_link_conf.xml file.
- Configure storage:
- Open
cd_storage_conf.xmllocated in theconfig\subdirectory of your Content Delivery root location in a plain-text editor or XML editor. - In your Storage Layer configuration file cd_storage_conf.xml you can configure where content is stored on the Content Delivery server. For each Publication you can specify different storage mediums in which to store content and also where to store individual content types. For example, you can store
ComponentPresentations andPages on your file system (theRoot Pathof the webserver hosting your website) and other content, such asLinkInfo,DynamicLinkInfo,PageMetaandBinaryMetain a database. - Save and close the
cd_storage_conf.xmlfile.
- Open