Hide WordPress version

Telegram data gives you good opportunity to promote you business with tg users. Latest marketing technique to telegram marketing.
Post Reply
oariful1997
Posts: 137
Joined: Sat Dec 07, 2024 3:59 am

Hide WordPress version

Post by oariful1997 »

By default, WordPress displays the version number of the software you are using on your website. For example, if you are using WordPress 6.4 , this version will be displayed on your site for tracking.

However, public visibility of your version number can create security threats and make it easier for hackers to perform WordPress SQL injection attacks.

Remove WordPress version number
This is because each version of WordPress has its own unique vulnerabilities that vnpay database hackers can exploit after discovering your version. This will allow them to add snippets of malicious code to your site through vulnerable input fields.

You can easily remove the version number from your site by adding the following code snippet to your functions.php file .

1
add_filter('the_generator', '__return_empty_string');
Hosted with by WPCode
1-click Use in WordPress
Once you do this, hackers won't be able to find your WordPress version number through automated scanners or any other way.

Note : Keep in mind that a minor mistake while adding code can make your website inaccessible. That's why we recommend WPCode . It's the best code snippet plugin that makes adding custom code to your site super safe and easy.

For more details, check out our tutorial on how to properly remove WordPress version number .
Post Reply