Why does WP not use relative links when linking pages?

Your question seems to have been already answered by a user here:
https://stackoverflow.com/a/18516783/844732

However it sounds like your problem would be solved by using this plugin:

Relative URL

Relative URL applies wp_make_link_relative function to links to convert them to relative URLs.

Yoast also has some background on relative URLs.

Leave a Comment