# Kan niet alle hyperlinks in alle posts op de community doorzoeken en ophalen

**URL:** https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727
**Category:** Support
**Created:** [19 oktober 2023 om 03:00 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727 "2023-10-19T03:00:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kenjdarhan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kenjdarhan/32/298019_2.png) [@kenjdarhan](https://meta.discourse.org/u/kenjdarhan)
#### Post date: [19 oktober 2023 om 03:00 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/1 "2023-10-19T03:00:53Z")

</div>

I am a moderator and I need to replace some links in other’s posts.

When I try to search for hyperlinks by substrings in the hyperlinks, not all contents will be retrieved.

For example, if I have multiple topics that contain some hyperlinks, sometimes I can find some (not all) posts containing hyperlinks with substring like “[obj.aaaaaa.com](http://obj.aaaaaa.com)” by searching with the substring as a keyword; sometimes I cannot find any posts containing hyperlinks with the substring by searching

This happens with other substrings as well, like “/latest/”, “1.8.2”, etc.

Can anyone tell me how I can make some settings so that the search function returns all posts containing hyperlinks with the substring I search for?

Thanks

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [19 oktober 2023 om 09:42 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/2 "2023-10-19T09:42:41Z")

</div>

The remap rake task is the best tool if you’re self hosted and have access to the server. That’s not what a normal moderator can do, though.

---

<div class="post-metadata">

### Author: ![kenjdarhan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kenjdarhan/32/298019_2.png) [@kenjdarhan](https://meta.discourse.org/u/kenjdarhan)
#### Post date: [19 oktober 2023 om 10:52 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/5 "2023-10-19T10:52:13Z")

</div>

Can an admin do that? Thanks

Yes I am self-hosted and have access to the server. Could you tell me how to do that?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [19 oktober 2023 om 11:47 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/6 "2023-10-19T11:47:53Z")

</div>

> [@kenjdarhan](#):
>
> This happens with other substrings as well, like “/latest/”, “1.8.2”, etc.

I searched on meta for [`"/latest/"`](https://meta.discourse.org/search?q=%22%2Flatest%2F%22) and [`"3.0.1"`](https://meta.discourse.org/search?q=%223.0.1%22), and it returns results containing these substrings.

Did you wrap your search terms with quotes `"`?

Note: some words won’t returns any results, you can check MySQL stopwords list here: [https://dev.mysql.com/doc/refman/8.0/en/fulltext-stopwords.html](https://dev.mysql.com/doc/refman/8.0/en/fulltext-stopwords.html)

---

<div class="post-metadata">

### Author: ![kenjdarhan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kenjdarhan/32/298019_2.png) [@kenjdarhan](https://meta.discourse.org/u/kenjdarhan)
#### Post date: [24 oktober 2023 om 07:29 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/7 "2023-10-24T07:29:37Z")

</div>

Thanks for replying. @Canapin

I wrapped my search keywords in " and none of the posts containing such hyperlinks were returned. I confirmed that my keywords are not in the list of stopwords.

It seems like my forum just forbids searching by hyperlink substrings.

And the perviously returned results were fetched according to matches between the keyword and fragments of texts other than hyperlinks.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [24 oktober 2023 om 08:47 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/8 "2023-10-24T08:47:56Z")

</div>

> [@kenjdarhan](#):
>
> It seems like my forum just forbids searching by hyperlink substrings.

I see no reason that would prevent this 🤔

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/2/e/32e63cd98bc2e85d01cbd40646a004f2061e52ce.png)

Can you copy-paste here in a codeblock a post’s content from your forum you’d like to return in the search?

---

<div class="post-metadata">

### Author: ![kenjdarhan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kenjdarhan/32/298019_2.png) [@kenjdarhan](https://meta.discourse.org/u/kenjdarhan)
#### Post date: [25 oktober 2023 om 03:12 UTC](https://meta.discourse.org/t/unable-to-search-and-retrieve-all-hyperlinks-in-all-posts-on-the-community/282727/9 "2023-10-25T03:12:15Z")

</div>

Just messaged you. 🙏🏽
