November 5, 2018

Move wp-config.php to a Non-public Folder

According to the WordPress Codex, the config file is one of the most important files in your WordPress installation. This file is located in your WordPress root directory and contains important information such as database connection data (username, password, etc.) and various settings. We can harden the security by somewhat by moving this important information carrier outside the […]

August 26, 2018

Best way to clear static resources cache in WordPress

Have you ever come across the situation when you need to hard refresh the browser or open in the private mode of browser, even to verify the small changes in styles or scripts? I bet you have. How to clear static resources cache? After implementing the code snippets shown below, you will be able to […]

August 26, 2018

Installation of multisite with sub-domains on localhost in Wodrpress

Step 1: Setting up virtual host for main network domain WordPress doesn’t allow to install the sub-domain multisite for local WordPress installation. So, first thing we need to is to set up the virtual host for main network site. For the demonstration purpose, i am assuming “http://localhost/your-site” as the main local WordPress installation where you […]