Day: August 13, 2012

  • WordPress : Website for logged in users only

    If you want to hide your wordpress website, so that, only logged in users may access it. So, here’s the quick fix. append following code into your wp-blog-header.php file right below wp(); //****************************************************// /////////////////////////// Require login to view website get_currentuserinfo(); global $user_ID; if ($user_ID == ”) { header(‘Location: wp-login.php’); } ////////////////////////// Require login to view…

  • SSH access : Time saVVy Hack

    If you deal with a lot of servers and SSH connections, then this post is a must read for you, welcome. I will go through some easy tricks, which will make your SSH login to server without asking a things. How to setup : Setup key based SSH access Command alias Start with issuing following…