In a community I want to access to a knowledge article by a link. I have something like this :

href="{!'/c/article/' + currentFile.urlName}"

with currentFile.urlName that is the KnowledgeArticleVersion.UrlName.

Concretely, the url look like this :


But when I click it I got the error

URL No Longer Exists

  • what is url is printing when you click on the url? May 17, 2018 at 8:05
  • "URL No Longer Exists" as I said in my question... I got this error message, and the URL is the one I wrote in the question. Maybe the url in the code is wrong, if so what should I put ?
    – dou
    May 17, 2018 at 8:08
  • Which community template you are using?
    – Ayub
    May 17, 2018 at 8:49
  • I use the napili template
    – dou
    May 17, 2018 at 8:50
  • url should be in a format like my-org-salesforce.cs88.force.com/articles/[articleType]/…
    – Reshma
    May 17, 2018 at 8:51

1 Answer 1


In Napili URL should be:


You can verify that it from community builder.

It's constructed as: <Community base URL>+'/s/'+'/article/'+<articleURLname>

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .