Searching by link address

Lets say I have a link inside my post. Is there a way to find that post by searching the link?

The normal search doesn’t support this.

1 Like

Are you looking for a single link or a list of links that have been shared?

You can access the list of URLs via the Data Explorer plugin if you have that

I don’t want to use a plugin. I want to use built in discourse search.

Our search tokenizer currently strips out link locations (the href part). I agree it makes sense to improve this so searching would automatically find all posts with links to

I am adding this to my list as a nice small improvement we can make to search.


@nbianca this is a fun little change for HtmlScrubber in search_indexer.rb , we don’t have to worry about history here. Can you add to your list?


Coo!l fix by @nbianca is now merged :partying_face:


This topic was automatically closed after 31 hours. New replies are no longer allowed.