Item-Level discussion redirects

Some organizations would prefer to give a custom treatment to this page when used on an internal site.

To allow for this, Aurea Social has introduced the Item-Level Discussion Redirects settings at the bottom of the Miscellaneous Settings page.

Each row of these settings defines a way to modify the sphere URL so that it is redirected to the custom treatment. Only use as many rows as you need, and leave the rest blank.

In the Match Regex field, put a regular expression that will match the set of URLs that you want to modify (and only those URLs). In the Substitution Regex field, use $0 to represent the matched portion of the URL, and add around this any text that you want in the replacement.

In the example pictured below, the Match Regex matchs http://www.cnn.com and any text in the URL that comes after it. The Substitution Regex replaces this portion of the URL with the same text, but with ?Custom=true appended.

Generating redirect urls

For the URL in the example picture above:

http://hal/_layouts/ng/UriSocialGroup.aspx?url=http://www.cnn.com

… this match regex matches the "http://www.cnn.com" at the end, and the substituion regex replaces this with http://www.cnn.com?Popup=true. So when a user clicks the link to

http://hal/_layouts/ng/UriSocialGroup.aspx?url=http://www.cnn.com

they are actually taken to

http://hal/_layouts/ng/UriSocialGroup.aspx?url=http://www.cnn.com?Custom=true

The Match Regex is only evaluated when a user clicks an item-level discussion link. These settings do not affect any other kind of link that can be found in a Aurea Social stream.

Saving the settings changes

After making changes to any setting on the Miscellaneous Settings page, click the Save button at the bottom of the page to put your changes into effect. Due to caching, users may not immediately see the behavioral changes.