Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,471 members, 7,954,845 topics. Date: Saturday, 21 September 2024 at 10:45 AM

The Perfect Way To Remove Wordpress Version Number - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / The Perfect Way To Remove Wordpress Version Number (461 Views)

How to Remove Index.php?route=common/home From Opencart / How To Remove "Facebook Timeline" On Google Chrome (2) (3) (4)

(1) (Reply)

The Perfect Way To Remove Wordpress Version Number by vowiski(m): 2:37pm On Aug 21, 2013
There are a lot of plugins that can help you remove WordPress version number, but it is best practice to always fix things manually without a plugin. Plugins should only be the last resort to fixing issues with your WordPress blog. Too much plugins can make your blog bloated and this can be really scary especially if you still used a shared hosting plan.

Now, the reason why it is recommended to remove the WordPress version for your blog is to reduce vulnerably to hackers. Knowing the WordPress version your blog runs on, makes their job much more easier.

Tip: How To Scan Your WordPress Theme For Malicious Codes Using TAC

The step you are going to learn is different from the convention methods which requires you to place some codes on the header.php or functions.php

Those methods don’t really do a perfect job as the WordPress version can also be found on your RSS feeds.

wordpress version number removal

Method 1 (Wrong)

Adding this line of code to functions.php file
remove_action('wp_head', 'wp_generator');

Method 2 (Wrong)

Removing this line of code from header.php file
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

Now, here is the deal, the perfect way and the one which works for me.

Method 3 (The perfect way)
http://www.thatnaijablog.com/2013/08/the-perfect-way-to-remove-wordpress-version-number.html

(1) (Reply)

Nairaland Webmasters, Come In / Get Your Website Designed By Fickost Companies / 100% Financial Freedom With Eassy Step

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.