Stop "http://" being auto inserted into link?

  • Unknown's avatar

    On my site, I like to use relative URLs. I have a <base> URL set in my head, and when I am writing a post, I use a relative URL to link to other posts (e.g. 2016/06/now-secure-enabling-lets-encrypt-https/). This helps when moving my site around or changing the base URL by not having to go through and update every internal link.

    However in the last few WordPress versions, when I try to use the ‘Insert Link’ button in the editor and I paste in my relative URL, it always automatically prepends http://. If I forget to catch it and manually remove it, I end up with a broken link.

    Is there anyway to change this behaviour and stop the editor from automatically prepending http:// to my URLs when inserting a link?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    gah, sorry. I thought this was the .org forum. My bad! Ignore!

  • The topic ‘Stop "http://" being auto inserted into link?’ is closed to new replies.