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

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
Honored Contributor


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>


Do you know we work with Kudos and Accepted Solution.

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