WordPress.org

Ready to get started?Download WordPress

Ideas

Manual optimization of header

  1. virgodesign
    Member

    I think that could be very useful the ability of optimize the header section:

    Disable and/or enable manually:

    Generator tag
    next/prev tags
    css and javascript tags
    feed tags
    trackback and xmlrpc tag
    etc.
    And also the ability to move in the footer js and css rel tags.

    In general it would be a feature that give the ability to edit and optimize, if needed, the header section. This will give more performance and fast loading for mobile devices, and a better optimization of the website from an SEO point of view.

    Hope could be useful, thanks.

    Posted: 2 years ago #
  2. you can easily remove the header tags in your functions.php

    remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds
    remove_action( 'wp_head', 'feed_links', 2 ); // Display the links to the general feeds: Post and Comment Feed
    remove_action( 'wp_head', 'rsd_link' ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
    remove_action( 'wp_head', 'wlwmanifest_link' ); // Display the link to the Windows Live Writer manifest file.
    remove_action( 'wp_head', 'index_rel_link' ); // index link
    remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); // prev link
    remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); // start link
    remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); // Display relational links for the posts adjacent to the current post.
    remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version
    Posted: 1 year ago #
  3. Keral Patel
    Member

    12345

    I think the top priority should be generator tag. Why can't we encrypt it and use the inbuild hash salt to decode it if it is needed for internal purposes. Displaying the generator is an invitation to hackers.

    On other hand I would also agree that wordpress developers have done a great job of addressing the issues till the day.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    This is theme territory