wp_make_link_relative

Convert full URL paths to relative paths.

Removes the http or https protocols and the domain. Keeps the path ‘/’ at the beginning, so it isn’t a true relative link, but from the web root base.

Input:
[?]

Have Feedback?

Let us know how we can improve this tool.
Share Feedback