Removing Shortlink Meta Tag

  • Author
    Posts
  • #495416

    fishpig
    Member

    Can anyone instruct me how to remove the shortlink meta tag please? The main reason I want to remove it is that it stops my homepage from validating as it has an empty value (http://fishpig.co.uk). Also, I don’t see how it will benefit my site.

    I have added the following to my functions.php but to no avail!

    remove_action(‘wp_head’, ‘shortlink_wp_head’);
    remove_action(‘wp_head’, ‘wp_shortlink_wp_head’);

    The blog I need help with is fishpig.co.uk.

    #495540

    raincoaster
    Member

    Sorry, but you’re in the wrong forum and need to be at WordPress.ORG instead. We dont’ have php access here, and won’t be able to help you.

    #495572

    fishpig
    Member

    Okay, thanks for the advice and apologies for posting in the wrong forum.

    Thanks!

The topic ‘Removing Shortlink Meta Tag’ is closed to new replies.