Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to generate URL's in Custom Content

Hi everyone,

I'm pretty sure my question is quite simple 🙂  I have some custom content fields that I am creating in my stage environment. All the links that I am making work in my stage environment of course work because they are hardcoded. But when I move to the production environment, my links won't look like anymore, they will be How can I autogenerate the part without having to update my links manually. Is there a variable I can use here?

2 Replies 2


Are you using this in "custom content" or "custom component"?

Since admin is different for both stage and production, so as is "custom content". on which you can that manually into it.

you can also use relative url's in link like the one below with example.

  <a href="/t5/Khoros-Community-Discussions/How-to-generate-URL-s-in-Custom-Content/td-p/581534">How to generate URL's in Custom Content</a>


Expecting your Kudos and Accepted Solution to my replies.

Yea, the relative URL was what I was looking for. Thanks!

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.