How can I prevent WordPress from converting links in my page content into hyperlinks?

For example if I write http://www.test.com I don't want it converted to a link.

  • Please specify the version of wordpress you are using.
    – hakre
    Aug 26, 2010 at 9:27

3 Answers 3


WordPress does not automatically convert URLs to hyperlinks.

  • It must be some plugin I have then :S I will have to track it down Aug 26, 2010 at 2:33
  • 2
    Today is 2015, and it does now.
    – Ooker
    Sep 7, 2015 at 7:59

It's the Editor TinyMCE's embed plugin to disable it you will also need to disable all other embeds (twitter, images, youtube, etc)

If you still want to proceed, then enter this code in your theme's functions.php

function disable_embeds_code_init() {
 add_filter( 'tiny_mce_plugins', 'disable_embeds_tiny_mce_plugin' );
add_action( 'init', 'disable_embeds_code_init', 11 );

To disable the autolinking(embedding) on just a specific link. Switch from visual to text and wrap the link in a <span>. Careful though, if you toggle back to visual it will remove the span and embed again. So if you have other content there get that all done first and then add the span when you are done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.