It would be fantastic to have a production ready URL before publishing content live. The current preview, includes preview and a few other things that means you can’t reference the URL in other content until pushing the content live. This post provides a workaround, but that is prone to manual error, typos, and a bunch of other issues. Please provide a better way to do this.
Get public URL before publishing
- November 30, 2022
- 25 replies
- 201 views
25 replies
- Contributor ⭐️⭐️⭐️⭐️⭐️
- December 1, 2022
Mine too! Can't believe this wasn't an idea already tbh.
The problem with that work around is that the publish date is older when you actually move it to the public section. Not pretty imo.
Other (ugly) work around: The preview url gets a redirect to your published article. So you can share the very very long preview url beforehand.
- Helper ⭐️⭐️⭐️
- December 1, 2022
Hi
The workaround
- Author
- Contributor ⭐️⭐️⭐️
- December 1, 2022
Other marketing and product efforts, for example, email campaigns, marketing websites, in-product links to additional information and content. As a broad example, our general flow for releasing a product change is:
a) beta test as employees
b) ship product change to production
c) ship marketing updated
d) ship community posts/information
b and c will often contain links to the community posts, but we have to re-deploy b and c after the community posts are live due to not having a trusted URL that can be used. We don’t want someone to go from a marketing email or marketing website to an invalid URL, but are forced to take that risk due to a lack of a definitive URL being presented.
Could the topic ID be generated at draft time to avoid the conflict?
- Helper ⭐️⭐️⭐️
- December 1, 2022
I see, the issue is that users will arrive from external sources on a page that will show the 404 error. Even if we would be able to generate the exact URL of a topic before it’s published, users will still not be able to see the content until it is actually published, because the “published” state is what makes a content piece visible to community visitors. I’m afraid your problem would not be addressed, if I understand it correctly.
Please let me know if I’m missing something in defining the problem you’re encountering.
- Author
- Contributor ⭐️⭐️⭐️
- December 1, 2022
Thanks
1) Without a valid draft URL:
- The community page doesn’t load.
- Marketing resources don’t have a valid URL
- Product resources don’t have a valid URL
- After releasing community posts, marketing and product have to re-deploy as we couldn’t give a URL in advance which takes time dependent on how long code reviews, builds and deploys take.
2) With a valid draft URL:
- The community page doesn’t load.
- Marketing resources have a valid URL (that would 404)
- Product resources have a valid URL (that would 404)
- After releasing community posts, everything works.
- Helper ⭐️⭐️⭐️
- December 2, 2022
- Author
- Contributor ⭐️⭐️⭐️
- December 2, 2022
Here’s an example preview link:
https://community.IntentionallyReplaced.com/preview/article/224?t=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b3BpY0lkIjoiMjI0IiwiY29udGVudFR5cGUiOiJhcnRpY2xlIn0.622F8aT45WN-liQyBtRYCoMr47WxW-CiQXSfqNJ1z98When this page goes live, based on other examples, I think the page will be:
https://community.IntentionallyReplaced.com/article/community-area-location-number/title-of-post-plusuniqueIdNumber
Aside from removing /preview/article/Number and the very long string thereafter, the final URL doesn’t look anything like the draft URL.
- Contributor ⭐️⭐️⭐️⭐️⭐️
- December 5, 2022
Here’s an example preview link:
https://community.IntentionallyReplaced.com/preview/article/224?t=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b3BpY0lkIjoiMjI0IiwiY29udGVudFR5cGUiOiJhcnRpY2xlIn0.622F8aT45WN-liQyBtRYCoMr47WxW-CiQXSfqNJ1z98 When this page goes live, based on other examples, I think the page will be:
https://community.IntentionallyReplaced.com/article/community-area-location-number/title-of-post-plusuniqueIdNumber
Aside from removing /preview/article/Number and the very long string thereafter, the final URL doesn’t look anything like the draft URL.
I agree. Reserving a short/def. url before publishing would make it a lot easier if other teams need that url for their content. Be it marketing for a newletter or another online team that whants to link to the article. It makes ‘going live’ at the same time easier. The preview url works, but it is long, it says “preview” in it and it is not very SEO friendly to use redirects. I don't think it's designed to use it that way(?).
- Contributor ⭐️⭐️
- March 11, 2026
I just started using this recently and was surprised that this feature wasn't available!In our company, we need to provide topic URLs to other departments in advance.Manually changing URLs is very dangerous.This is an old post, but I would appreciate your consideration.
- Contributor ⭐️⭐️⭐️⭐️⭐️
- March 12, 2026
See this recent post for some good news :)
- Contributor ⭐️⭐️
- March 17, 2026
- Gainsight Employee ⭐️
- March 20, 2026
All the votes have been transferred into this idea.
- Gainsight Employee ⭐️
- March 20, 2026
- Gainsight Employee ⭐️
- March 20, 2026
Thanks for this idea and to everyone who's contributed here.
This is being tracked alongside a related idea and we're moving it into discovery as part of broader content workflow improvements. The ability to get a stable, production-ready URL before publishing is a clear need for teams coordinating community content with external campaigns and deployments. We'll keep this thread updated as we learn more.
- Contributor ⭐️⭐️⭐️⭐️
- April 2, 2026
Exactly! I have to provide our development, Marketing, and Product teams with REAL URLs during the development cycle. Which means, I can’t use Drafts and must create hidden Categories so the articles aren't where they are supposed to be and must be moved post-release (which changes the URL, but if one uses a shortened URL with JUST the Topic ID, it works...) but it’s a PAIN.
- Gainsight Employee ⭐️
- April 6, 2026
Exactly! I have to provide our development, Marketing, and Product teams with REAL URLs during the development cycle. Which means, I can’t use Drafts and must create hidden Categories so the articles aren't where they are supposed to be and must be moved post-release (which changes the URL, but if one uses a shortened URL with JUST the Topic ID, it works...) but it’s a PAIN.
- Contributor ⭐️⭐️⭐️⭐️
- June 8, 2026
Exactly! I have to provide our development, Marketing, and Product teams with REAL URLs during the development cycle. Which means, I can’t use Drafts and must create hidden Categories so the articles aren't where they are supposed to be and must be moved post-release (which changes the URL, but if one uses a shortened URL with JUST the Topic ID, it works...) but it’s a PAIN.
One other thing, when creating a new article, it’s Topic ID (for Insided’s backend) should be the same Topic ID that the front end uses.
- Gainsight Employee ⭐️
- June 8, 2026
One other thing, when creating a new article, it’s Topic ID (for Insided’s backend) should be the same Topic ID that the front end uses.
Great callout, agreed, we need to make this consistent between surfaces (backend and frontend)
- Helper ⭐️
- June 9, 2026
Great callout, agreed, we need to make this consistent between surfaces (backend and frontend)
On the topic of IDs I’d also like to propose removing the numerical ID from the URL altogether--or at least providing that as a configuration option. The URLs would be much more predictable if you could expect the final output to just be the hyphenated topic name, without any system generated ID appended.
- Helper ⭐️⭐️⭐️
- June 9, 2026
But that said, all the more reason why the backend and frontend IDs should be consistent, so +1 from me on that as well. 😅
- Gainsight Employee ⭐️
- June 9, 2026
Great callout, agreed, we need to make this consistent between surfaces (backend and frontend)
On the topic of IDs I’d also like to propose removing the numerical ID from the URL altogether--or at least providing that as a configuration option. The URLs would be much more predictable if you could expect the final output to just be the hyphenated topic name, without any system generated ID appended.
But that said, all the more reason why the backend and frontend IDs should be consistent, so +1 from me on that as well. 😅
I will ask our engineering team about this but I have a hunch that
- Helper ⭐️
- June 29, 2026
I will ask our engineering team about this but I have a hunch that
This a very good point, I am actually curious to learn more about the role of that ID and what role it plays with permalinks. I know that topics have two IDs, a public and a private ID. The public ID is what gets appended to the topic slug in the URL, and the private ID functions like a permalink in some way. I don’t know much about it, they work something like this:
URL with public ID:
https://community-name.com/category/topic-name-[public-id]
URL with private ID:
https://community-name.com/articles/[private-ID]Unfortunately, I don’t think there is any way to find a topic’s private ID in Gainsight CC. We have Gainsight CC integrated with Gainsight CS instance, so I can report on community objects in CS and find a topic’s private ID there.
I’ve actually started using the private ID URL format above when someone needs an advance URL to use in a newsletter or a popup build since it’s a permalink. That way all I have to do is just push the topic up to my hidden “drafts” category in the knowledge base and then get its private ID. I don’t have to manually build a URL myself with the category I know it’s eventually going to move into. It’s still a manual workaround, but less opportunity for me to make a typo I guess 🤠
- Gainsight Employee ⭐️
- June 30, 2026
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Scanning file for viruses.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
OKThis file cannot be downloaded
Sorry, our virus scanner detected that this file isn't safe to download.
OK