How to find good domain hacks

Domain hacks, are  domain names that combines domain levels to spell out the full title or name of the domain name. These type of domains spells out a word …

How to redirect non www to www

  There are still sites you cannot reach without using www in domain name. That is DNS configuration problem, but what if you find that your site is indexed …

How to disconnect Remote Desktop sessions

  Is there an easy way  to close a Remote Desktop sessions on a windows server? Open command prompt window (Programs / Accessories / Command Prompt ) and get …

How to Delete Existing WordPress Post Revisions

  To remove all existing post revisions entries from WordPress database Posts table, simply login to MySQL phpMyAdmin. Select the appropriate WordPress database, and then issue the following command: …

How to Add Default Content in WordPress Post

Open  WordPress theme’s functions.php file ( or child theme functions.php ) and paste the following code within the PHP tags. add_filter( 'default_content', 'my_editor_content' ); function my_editor_content( $content ) { …

Remove Text from Multiple Files

  Shell script to remove some text from multiple files Here is a small script that reads all *.txt  or all *.html, all *.php  files and delete all lines …