Saturday, March 9, 2013

how to check wordpress version


ny person with even basic knowledge of WordPress can find out which version of the platform your website is using. Then, they can target particular vulnerabilities in the said platform version to access your website. You can prevent this by changing the information in your page header meta and also in the readme.htmlfile.
To change the meta, use this code:
1
2
3
4
function remove_wp_version () {
    return '';
}
add_filter ( 'the_generator', 'remove_wp_version' );
As for the readme.html file, just change the title to anything off the top of your head. Only make sure it wouldn’t be easily deciphered by a hacker. You can even remove it entirely if you wanted to, or just remove the version number from inside the file.

No comments:

Post a Comment