SortSite: broken link for "/faq/####" urls

Created on 20 February 2023, almost 2 years ago
Updated 14 June 2023, over 1 year ago

For some reason, I'm getting tags like <a href="/faq/3371"> or <a href="/faq/3376"> where the URLs cannot be reached.

Where are these tags being generated? I can only see them being used possibly in the faq.questions_top.inc file.

if ($category_display == 'hide_qa') {
    $url = Url::fromUserInput('/faq/' . $term_id);
    $variables['header_title'] = Link::fromTextAndUrl($term->getName(), $url)->toString();
  }

It's likely not a good idea to change an inc file. Any idea why these broken links are being generated, since my web page already uses the "faq-page/" paths without issue?

💬 Support request
Status

Active

Version

1.1

Component

Code

Created by

🇺🇸United States liut

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024