How to use relative urls without canonical and prev-next?

I want to use relative urls instead of absolute urls but not all types. Here's just a few examples.

Exclude: canonical urls, prev and next post like this:

link rel="canonical" href="https://www.example.com/title/" /
link rel='prev' title='title 2' href='https://www.example.com/title-2/' /
link rel='next' title='title 3' href='https://www.example.com/title-3/' /

Include: All categories, menu, posts, pages, js, css, wp-content/uploads, etc.

That's what I need.

Topic rel-canonical Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.