Search logs points to bad URL

AI-generated summary

The discussion addresses a bug where the “search logs” link in the admin area points to an invalid URL, missing the forum’s domain (e.g., https://admin/logs/search_logs instead of https://example.com/admin/logs/search_logs). Bill reported the issue, and JimPas confirmed it. EricGT noted the link works correctly on their site. eviltrout identified the cause as a manual error during refactoring and provided a fix via a GitHub commit. Bill confirmed the issue was resolved after applying the update.

After updating a few minutes ago, the “search logs” link in my admin area under “trending search terms” links to an invalid url: admin/logs/search_logs

This link doesn’t have my domain in it at all.

2 Likes

Checked the site I am at (SWI-Prolog) and it is working fine for us.

My Search Logs link is also missing my forum’s domain. All the link shows when I hover over it is https://admin/logs/search_logs which will give a page not found error. I’d have to enter the entire link manually or scroll up to the top of the dashboard and click on Logs and continue from there.

I have a fix here. This was a manual error made when refactoring:

https://github.com/discourse/discourse/commit/a9def011d0dca1668bf98a336fb42894ad3b5752

5 Likes

After applying the update, I can confirm this is now fixed. Thank you so much! I love Discourse.

2 Likes