Support » Fixing WordPress » Unable to remove WordPress post's header rel=shortlink"

  • Hello all!

    I need to remove the WordPress rel=shortlink” link in the header. Therefore I added following code to my site theme function. I have genesis theme, therefore I added it to the child theme function php.

    remove_action(‘wp_head’, ‘shortlink_wp_head’);

    But it’s not working for me. Then I enabled WordPress SEO by Yoast plugin Hide Shortlink for posts option but no luck. Then I installed Head Cleaner plugin, and enabled its wp_shortlink_wp_head. But no luck. Still I can see that short link in the header.

    Can someone please tell me why I can’t remove that “Link: <http://www.xxxxxxx.com/?p=105&gt;; rel=shortlink” code?

    Is is my genesis theme issue or any other issue?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to remove WordPress post's header rel=shortlink"’ is closed to new replies.