SECURING WORDPRESS PART 2 (BY EDITING FILES)

In last blog post we discussed about hot to secure WordPress installation with some plugins. We need to do some modification in files to secure WordPress, in this blog post we will look at which files needs to be changed in order to make WordPress installation like real steel.

 Remove META Generator  

Make sure to remove <meta name=”generator” content=”WordPress <version>” /> from your WordPress installation. To remove this wp-security plugin can help. You can also install some other plugin called wp-meta generator tag remover.

Other way to remove META generator tag is to remove it from code. Navigate to WordPresswp-includes general-template.php in  WordPress directory , find <meta name=”generator” content=” WordPress and remove “ . get_bloginfo( ‘version’ ) . “ from code.

Image 3 
  •  Remove readme.html

Many times we remove meta generator tag to not to disclose WordPress version but unknowingly we keep default installation files on server, which leads to malicious attack on web application. One of the file which contains WordPress version information is readme.html

After upgrade of WordPress of fresh installation make sure to delete readme file. It’s default path is WordPress/readme.html

 
 
Tags

Related articles

Shopify Thailand | From Selling on Marketplaces to Building a Sustainable Brand

Many Thai businesses begin their journey on marketplaces, but as competition intensifies, building their own website becomes a crucial next step. Shopify is not just a tool for launching an online store—it is a Digital Commerce foundation designed to support long-term growth.

Read more

Shopify Thailand | A Digital Commerce Platform That Is More Than Just an Online Store

Shopify is evolving from a tool for launching online stores into a Digital Commerce Platform that enables businesses to manage omnichannel operations, integrate with enterprise systems, and support long-term growth. This article explains the broader picture from a structured, enterprise perspective.

Read more
Contact us

Let's Talk Solutions

Don’t face obstacles alone – tell us about your needs. We’ll listen, suggest options, and together build technology to accomplish your goals.

Guaranteed Follow-Up — Within One Business Day

No chasing. No hassle. It’s easy.

Schedule a Free Consultation
General Form