I created a Custom Object with a Rich Text Field. The custom object is accessible internally to Salesforce as well as externally in our Customer Portal via a VisualForce page.
In the text field for this object, I am displaying a link to a URL. Currently it is hardcoded to this:
mycompany.force.com/articles/article_id
.
How would I make it so that the link in the customer portal stays the same, but if I access the link internally, it becomes na4.salesforce.com/articles/article_id
?