Author Archives: Raffye.Memon

WordPress sites not indexed by search engines

Recently, I have noticed something strange. It turns out that some WordPress Sites are not being indexed by search engines. This applies only to recently launched websites running the latest stable WordPress release – 3.4.2.

As it turns out, WordPress 3.4.2, by default, asks search engines not to index your website. To change this, log in to the WordPress admin area, go to Settings -> Privacy, select “Allow search engines to index this site” and click the Save Changes button. After this, your website will be visible to search engines.

Again, this concerns only websites running the most recent WordPress version – 3.4.2. If you have updated from an older version, you will not have this problem, since the “Allow search engines to index this site” option is enabled by default in the previous WordPress versions.

Leave a comment

Posted by on November 25, 2012 in Tips


Tags: , ,

DNS change puts 284 Pakistani websites at mercy of hackers

It seems there’s at least one notable case of hacking each week, if not more. Today could be the biggest event of the year in Pakistan, due to a change in the DNS entries for 284 Pakistani domains managed by MarkMonitor.

These aren’t small sites feeling the impact. Sites such as,, and are all affected by the DNS entry changing. At the time of writing, Microsoft and Google’s Pakistani sites cannot be reached at all. eBay’s page has been defaced, as you can see in the screenshot here:

Feeding it through Google Translate identifies the language as Turkish, so the origins of the attack could be traced down to the country. The translation is mangled, but it still manages to put across its point even if it is awkward to read.


My homies in a friend always there for me
Have not shot by me with every breath
Pakistan Downed
   trabzon 2012
Hello friends who are still alive not dead!

There may be some information usable within that quote. Trabzon is a city on Turkey’s north-eastern coast, famous as being one of the stopping points on the ‘Silk Road’. Currently, nobody has come forth to take responsibility for the action, which is somewhat unusual since hackers tend to be quick to celebrate a victory.

Interestingly, their penguin image on the eBay page also appears elsewhere. Using a reverse image search on Google, it can also be found on the Bulgarian Red Cross page. The only difference is that the comments about “Pakistan Downed” are not present on the Bulgarian hack. According to Zone-H, the name “eboz” has been attributed to a number of different hacking attacks dating as far back as 2009.

Leave a comment

Posted by on November 24, 2012 in Uncategorized


Tags: , , , , , ,

How to enable IDENTITY_INSERT for a table

I wonder how many times every one  us might have stumbled to insert values to identity column.Though identity
column serves as healthy mean of maintaining unique identification for a table and more often then not we do use
identity column to be the primary key field but it does come with it’s own baggage of hindrance, ofcourse until
you know how to unload the baggage

One hindrance that identity column serves is that does not allow you to enter your desired value at a particular
place until you play this little trick with it.While the simplest solution that i have used often to get across this situation
is here to unrevealed.

INSERT IdentityTable(TheIdentity, TheValue)
VALUES (3, ‘here we go’)

This is one of those  little trick that every sql programmer would love to be  scrolled in their sleeves

Leave a comment

Posted by on November 21, 2012 in Uncategorized


Tags: ,

How to Allow MySQL Client to Connect to Remote MySQL server

By default, MySQL does not allow remote clients to connect to the MySQL database.

If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL server” message as shown below.

$ mysql -h -u root -p
Enter password:
ERROR 1130: Host '' is not allowed to connect to this MySQL server

You can also validate this by doing telnet to 3306 mysql port as shown below, which will also give the same “host is not allowed to connect to this mysql server” error message as shown below.

$ telnet 3306
host is not allowed to connect to this mysql server

If you want to allow a specific client ip-address (for example: to access the mysql database running on a server, you should execute the following command on the server that is running the mysql database.

$ mysql -u root -p
Enter password:

mysql> use mysql

mysql> GRANT ALL ON *.* to root@'' IDENTIFIED BY 'your-root-password'; 


Also, update firewall rules to make sure port# 3306 is open on the server that is running the mysql database.

After the above changes, when you try to connect to the mysql database from a remote client, you’ll not get the “Host is not allowed to connect to this MySQL server” error message anymore.

Leave a comment

Posted by on November 20, 2012 in Tips


Tags: , ,

Visual studio 2012 windows 8, Metroapp and javascript template missing

Win8 development is only supported on Win8. VS installs on any Windows OS from Vista onwards to support classic app development, but as you see you won’t have access to the Win8 app styles.

Since Win8 rc is available for free, you can download it and install it on a virtual machine and code on that for a low cost workaround. You don’t need to have it be your primary OS. Developing in a VM has a ton of benefits.

Leave a comment

Posted by on November 17, 2012 in Tips


Tags: ,

OrangeHRM: Installation error symfony/cache symfony/log Not Writeable

Recently i was deploying orangeHRM and ran into ymfony/cache  and symfony/log Not Writeable error during installation, tried many things regarding write permissions chmod in liux and security user add in windows. etc etc.

but still the following  Error was there on re-check:

Finally i browsed to the folder symfony located in OrageHRM and found that cache and log folders were created by default. just created those folders and bingo it worked


Posted by on November 16, 2012 in Tips


Tags: , , ,

Dreamweaver CS5- dynamically-related files could not be resolved because the site definition is not correct for this server

I personally installed wordpress severals times locally as i could only make the dynamic discover feature work maybe once or twice each time i installed, then I would get this error. After trying several different server setups i almost gave up. Today I was working with wordpress outside of dreamweaver and was looking for a way to change permalinks to have a php extension. After looking for a while I noticed people kept talking about making differnet servers like xamp able to handle permalinks. Then the light came on for me and I realized each time I installed wordpress I would eventually change the default permalink to day and name. So I turned it back to default in wordpress and bingo I could now discover the files. Tried this several times to make sure this was the issue. Yippe!!

1 Comment

Posted by on October 20, 2012 in Uncategorized


Tags: , ,

%d bloggers like this: