Ask HN: How do I search HN for ‘PHP’ whilst excluding the url?

5 points by bennyp101 ↗ HN
If I search for ‘php’ it shows me every submission that has index.php etc in the url - how to avoid that?

Or alternatively could HN change to not include ‘*.php’ in urls?

3 comments

[ 3.5 ms ] story [ 20.1 ms ] thread
use "title" in the search:

  title: php
https://hn.algolia.com/help - Linked to at the bottom of the page, but hidden if you have dark mode on. It has some of the other options you can use.
`title: php` doesn't work as expected (it includes all URLs that contain both "title" and "php") and the "title:" filter is not documented in the page you linked.
Another one, how do I exclude usernames from the search result? Some users has names of popular libraries.