最近搜索


没有最近搜索

在文章中插入链接时,是否需要添加“https”或“http”协议?



image avatar

Alexander Popa

Zendesk Engineering

已于 2025年4月17日 编辑


0

0

2 条评论

Minha conta do total pass ficou inativa do nada, isso tam uns 7 dias 

0


In short: You need to enter http://, https://, etc. as the protocol when adding links through the Insert/edit Link prompt. WWW. alone will not work.

It appears that the current Help Center behavior for links is this:

  • If you enter http:// or https:// into the Insert/edit Link prompt, the link will work as expected.
  • If you enter just the domain, or the domain with a www. prefix (e.g. aol.com or www.aol.com), Help Center will interpret this as https://{subdomain}.zendesk.com/hc/en-us/articles/{link}

This is briefly explained in Inserting and editing links in articles. Those who are unfamiliar with the href property, or are new to working with WYSIWYG editors, may think that links w/o the protocol should just work.

In the above example, using www.aol.com would result in the link being interpreted as 

https://{subdomain}.zendesk.com/hc/en-us/articles/www.aol.com. This can easily lead to broken links in the Help Center for those who may not know to add the prefix.

Since non-heading anchors generally need to be added manually, it would seem that http:// or https:// is no longer a recommendation, but a requirement, for links to work as expected.

I've posted a feedback request to provide for a modal/warning/updated language/etc. for this situation.

0


请先登录再写评论。