# NC 20 - search for contact results in error 404 (BUG?)

**URL:** <https://help.nextcloud.com/t/nc-20-search-for-contact-results-in-error-404-bug/95252>\
**Category:** ℹ️ Support\
**Tags:** nc20\
**Created:** [October 15, 2020, 9:29am UTC](https://help.nextcloud.com/t/nc-20-search-for-contact-results-in-error-404-bug/95252 "2020-10-15T09:29:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![drewjosh](https://help.nextcloud.com/user_avatar/help.nextcloud.com/drewjosh/32/30401_2.png) [@drewjosh](https://help.nextcloud.com/u/drewjosh)\
**Post date:** [December 13, 2020, 8:44pm UTC](https://help.nextcloud.com/t/nc-20-search-for-contact-results-in-error-404-bug/95252/4 "2020-12-13T20:44:11Z")

</div>

In the German section of the forum I found a thread with the same problem. @regenpfeifer tracked down the issue to a problem inside the search function. I solved the problem by updating the htaccess rules. See the link below to find the thread and the quoted solution:

> [@Anzeige der Kontakte in NC 20 funktioniert nicht über die Suchfunktion](https://help.nextcloud.com/t/anzeige-der-kontakte-in-nc-20-funktioniert-nicht-uber-die-suchfunktion/94886/10):
>
> @regenpfeifer Danke für den Hinweise für “Pretty URLs”! Habe folgenden Rat befolgt und das Problem war gelöst: Htaccess Pfad ändern, dazu folgende Linie in config.php hinzufügen 'htaccess.RewriteBase' =\> '/' (Path depends on your configuration - maybe /nextcloud) Update htaccess with the occ command sudo -u apache php occ maintenance:update:htaccess On my webhosting I ran the command like this over SSH: php occ maintenance:update:htaccess Source: [https://help.nextcloud.com/t/removing-i…](https://help.nextcloud.com/t/removing-index-php-from-the-nextcloud-uri/13055/2)

---

_[View the full topic](https://help.nextcloud.com/t/nc-20-search-for-contact-results-in-error-404-bug/95252)._
