Preventing Specific URL and Content-Link Conversions
3 minute read
In the Prevent URL Conversions section of the Advanced Settings page, you can prevent the Connector from converting links to specific files or file types.
Note: This option is relevant only if either or both of the Language Conversion (URL Reference) and Language Conversion (Content Link) options are configured in the Translation Settings section of the Configuration page, as described in Translation Settings.
To prevent the Connector from converting specific URL and content links:
-
Click Admin Tools > Advanced Settings in the Lionbridge Connector rail. For information on opening the Lionbridge Connector rail, see Configuring the Connector.
The Advanced Settings page opens, displaying the Prevent URL Conversions section near the top of the page.
- In the JCR Paths field, enter the JCR (Java Content Repository) path of specific files or pages. This prevents the Connector from converting any links to these files or pages.
Tip: You can also enter a file type, to prevent converting all links to files with a specific file type. For example, you can enter *.jpg to exclude all files with that extension. Notes: Use a comma ( , ) to separate multiple entries. Entries are not case sensitive.
- In the Exceptions field, enter the JCR (Java Content Repository) path of pages or files to exclude from the exclusion list, in the JCR Paths field, above. For example, suppose you want to prevent converting links to all .JPG files, but you want to convert the link to
filename.jpg
: In the JCR Paths field, above, you enter *.jpg; while in the Exceptions field, you enter the path tofilename.jpg
. Use a comma ( , ) to separate multiple entries. Entries are not case sensitive.
Notes: Use a comma ( , ) to separate multiple entries. Entries are not case sensitive.
-
In the Skip URL Conversions for Node Properties field, enter the names of node properties. This prevents the Connector from converting any URLs for these nodes. You can exclude either all instances of a node or only instances of a node for a specified path.
-
To prevent URL conversion of a node for all sites, add the /content prefix for to the node property. For example, to exclude the cq:master node property from URL conversion for all sites, enter the base node path as /content|cq:master.
-
To prevent URL conversion of a node for a specific path, specify that path. For example, to exclude the cq:master node property from URL conversion for the “company A” site, specify /content/companyA|cq:master.
-
Tip: To substitute a wildcard as part of the property name, use an asterisk (*). For example, specifying /content|cq:* prevents URL conversion for any property whose name starts with cq: for all sites.
- Click Save Configuration to save your changes.
A message in red at the top of the page states that the configuration was saved.