Adding an external guide to the community studio and understanding the use-case.

5 replies
Last updated: Aug 4, 2023
Hey team. I'm trying to add an external guide to the community studio but it's asking for a slug? Do I need to add one for a guide that is posted elsewhere? Thanks.
Aug 1, 2023, 10:26 AM
The slug is essentially a part of your guide's URL so you will need to add that. I however, do not fully understand what you are doing in this case? Are you trying to create an external guide but the content lives in a different URL? What is the use-case?
Aug 1, 2023, 2:20 PM
Hey, Urvashi. The guide has already been created: https://www.freecodecamp.org/news/how-to-build-a-portfolio-site-with-sanity-and-nextjs/
I'm trying to share it to the community guide and when you click on the post, it will take you to the original article.

Here's an example guide uploaded to Sanity but redirects to the original post when clicked.
Aug 1, 2023, 2:38 PM
Ah that makes sense. Thanks for clarifying ๐Ÿ‘ I am not a 100% sure but perhaps you can try adding a slug and see if the post redirects to the link listed under the External link?
Aug 3, 2023, 3:30 PM
Hi
user A
, it seems like the external link is used as the URL when you navigate via the list of guides . As such, if a guide has an external link, like in your case, even though the slug is necessary during the creation, it should skip the slug entry and follow the external link instead.(Also, I can see your guide in the list now and it links correctly to the external URL)
Thanks!
Aug 4, 2023, 11:16 AM
You're right. I noticed that yesterday. Thanks a lot for helping,
user F
:cool_doge:
Aug 4, 2023, 11:20 AM

Sanityโ€“ build remarkable experiences at scale

The Sanity Composable Content Cloud is the headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Categorized in