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

Question

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.

0
Eagle 3 years 2019-12-03T07:14:26-05:00 0 Answers 69 views 0

Leave an answer

Browse
Browse