How can I block a certain page?

I cannot find a way to block a specific page on a domain, only block a certain domain.

How could I block (for example) but have all other pages on unblocked?

Pi-hole only sees DNS queries. You can’t do what you are asking with Pi-hole.