How to disable wp.me shortlink

WordPress 2.9 provides wp.me shortlink for each post for free. However, if you don’t like it, you can disable it easily.

To disable it, copy and paste the following code into your theme’s functions.php file.

/* Disable Auto Adding of wp.me Shortlink */
remove_action('wp_head', 'shortlink_wp_head');
If you are new here, you might want to subscribe to the RSS feed or newsletter.

Enter your email address:

Related

This entry was posted in WordPress and tagged , . Bookmark the permalink.

5 Responses to How to disable wp.me shortlink

  1. e says:

    I’m running current wp 2.9 but
    I can’t find the button which is supposed to be next to the edit post button.
    whats’s wrong?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>