How To Remove The WordPress Version Number From Your Site - Hacker Proofing | WP Learning Lab

Опубликовано: 05 Июнь 2015
на канале: WordPress Tutorials - WPLearningLab
4,928
80

🔥Name Your Own Price🔥 for the 11-Point WP Security Checklist Smart PDF: https://wplearninglab.com/go/wpsecuri...

Code from the tutorial:

remove_action('wp_head', 'wp_generator'); //Remove WordPress version from site

In this tutorial you're going to learn how to remove the WordPress version number (WordPress generator meta tag) from your source code.

Why is this is an important security enhancement?

Hackers use automated tools to detect WordPress version numbers and identify potential vulnerabilities in your website. When you remove WordPress generator tag, which contains the WordPress version number, hackers can't see what version of WordPress you have.

Therefore, they don't have a clear understanding of potential vulnerabilities and that makes their hacking more difficult.

The special WordPress meta tags that place the version number into your source code is actually quite easy to remove. All you have to do is copy and paste the code above into your theme's functions.php file and click Save.

You can also use a plugin by Adam Harley; however, this plugin hasn't been updated in over two years. https://wordpress.org/plugins/hide-wo...

You may also want to consider using as few plugins as possible. I outline the reasons for this in a blog post here: https://wplearninglab.com/how-many-wo...

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

--------------

If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.

http://wplearninglab.com/

Connect with us:

WP Learning Lab Channel: http://www.youtube.com/subscription_c...

Facebook:   / wplearninglab  

Twitter:   / wplearninglab  

Google Plus: http://google.com/+Wplearninglab

Pinterest:   / wplearninglab  


Смотрите видео How To Remove The WordPress Version Number From Your Site - Hacker Proofing | WP Learning Lab онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WordPress Tutorials - WPLearningLab 05 Июнь 2015, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,92 раз и оно понравилось 8 людям.