Mohsin Sumar Zend Certified Engineer, PHP Professional, Designer & Web Developer

8Nov/090

My 22nd Birthday

I was born around this time around 22 years ago.

Thank you to everybody for your thoughtful birthday wishes via phone call, text message, email and facebook!

Filed under: General No Comments
4Oct/090

Success is not how far you get but…

"Success is not how far you get, but the distance you travel from where you started."

Today, I came across this well said proverb while watching one of my favorite TV shows, Numb3rs - the 6th season. I often come across such words of wisdom from many different places which I'll be posting it up on my blog. Stay tuned.


2Oct/090

The Hierarchy of Digital Distractions

The Hierarchy of Digital Distractions

The Hierarchy of Digital Distractions

I stumbled across this infographic on Information in Beautiful. It illustrates the Hierarchy of Digital Distractions. I'm quite amazed with this infographic and find it very true. How true do you find this? Click on the image to see this infographic in its original size.

Tip: start from the bottom. :)

Filed under: General No Comments
1Oct/090

Help! I’m using wordpress and my site disappeared from all search engines.

After a really long time of absence in maintaining my own personal website, I decided to install wordpress blog to get my site back online quickly. Without going over the settings thoroughly, I was happy that my site was back online quickly. I started blogging and hoping my blog posts would have a good impact on search engine results. Unfortunately, my site disappeared from search engines completely!

If you recently installed wordpress and are wondering why your site is not on any search engines, the culprit is the privacy options in wordpress. By default - it is set to reject all search engines besides normal visitors by setting the robots meta tag to noindex, nofollow.

The good thing is that it's really easy to fix this. Follow the instructions below and you'll be on your way to wait for Google & other search engine bots to crawl your site again.

  1. Log into Wordpress Administration Area (wp-admin)
  2. Go to Settings > Privacy
  3. Select: I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers
  4. Save settings

I hope this helps.

Happy Blogging!

27Sep/090

SSH Commands to find files on Linux Server

If you have a dedicated server or a VPS - or any Linux machine with SSH access, the following commands may be useful to you if you are looking to find some files quickly. PuTTY is a good telnet/SSH client if you don't already have one. Let's get started.

#1: If you are looking for a particular file in /home directory

find /home -name filename

#2: If you are looking for files whose name is starting with "filename" in public_html directories only, you can use the following command:-

find /home/*/public_html -name filename* 

#3: Instead of viewing your search results in command line, you can write it to file by using this:

find /home/*/public_html -name filename* > /home/filename_search.txt

#4: Alternatively, you can send it via e-mail directly from server using the command below. Don't forget to replace "Subject Here" with your email subject, and "email.address@domain" with your email ID.

find /home/*/public_html -name filename* |mail -s "Subject Here" e-mail.address@domain

I hope this was useful.