(I searched and found many conversion questions regarding absolute URLs, but nothing for absolute relative.)
I would like to enter data from the form field and eventually get the relative url. Ideally, this could work with any of the following inputs and end /page-slug.
http://example.com/page-slughttp://www.example.com/page-slughttps://example.com/page-slughttps://www.example.com/page-slugexample.com/page-slug/page-slug- And maybe I donβt think about ... anymore?
Edit: I would also like this to work for something where the relative URL, for example. /page/post(i.e. something with more than one slash).
source
share