Archive for December, 2009:
Using rsync for transferring files under Linux or UNIX
rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each direction.
So what is unique about rsync?
It can perform differential uploads and downloads (synchronization) of files across the network, transferring only data that has changed. The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection. More »
Making static urls using mod rewrite
Apache’s mod_rewrite can be easily used via a file called “.htaccess” to turn dynamic urls into friendly urls.
Here is an example of how it’s done:
#Turn on the Rewrite Engine
RewriteEngine on
#Set the base path
RewriteBase /
#Check that the lookup isn’t an existing file
RewriteCond %{REQUEST_FILENAME} !-f
#Check that the lookup isn’t an existing directory
RewriteCond %{REQUEST_FILENAME} !-d
#Check that the file isn’t index.php (avoid looping)
RewriteCond %{REQUEST_URI} !^index\.php$
#Force all .html lookups to the index file
RewriteRule (.+)*\.html index.php?nav=$1 [QSA,L]
#Note: QSA=query string append;L=Last, no more rulesDynamic URLs and static URLs
Google recently released article on dynamic vs static urls which suggests that search engine do not like dynamic urls as much as they like static urls.
I suggest you guys to have a read on it by clicking here
Domain has exceeded the max emails per hour (200) allowed. Message discarded.
Some times you get error from cpanel
Domain example.com has exceeded the max emails per hour (200) allowed. Message discarded.
Simple solution for it is
echo domain.com=10000 >> /var/cpanel/maxemails
The requested URL /cpanel was not found on this server
The problem is when you attempt to visit “http://example.com/cpanel” and you get the following message or similar:
The requested URL /cpanel was not found on this server.
To fix this, you can add following in /usr/local/apache/conf/httpd.conf
More »
How to change cpanel theme from rvskin to x3
ahh,,,,I changed my theme to test rvskin theme, but after that I was not able to change it back to x3
Searched on google and found this simple way.
Just run below url in address bar of browser when you are login in cpanel of your account. More »
Avoid Common SEO Mistakes, 5 important tips
These 5 simple SEO solutions for common SEO mistakes can save you time to market and countless hours of frustration trying to reverse engineer competitors, simple keywords or rankings.
1- Don’t target keywords target markets – Keywords come and go and search behavior and user intent is whimsical this is why you should target markets instead of keywords. Since no two people think or search alike, you have to play the law of averages in your favor by finding the most trafficked and relevant keyword clusters to funnel traffic to your pages. This means targeting groups of keywords then finding which ones gain traction first.
There are pivotal keywords that act as a semantic thread that run throughout the theme of your website, so, by finding, consolidating and unifying those pages with internal links (the only links you have 100% control over); by the time you need to acquire links for ranking factor from other sites, you are miles ahead of your competition.
Testing new search interface of Google
Google has been working to launch its new search interface. The main change is a permanent side bar during search which “bingo” is offering already.
Here are some steps you can try to get that new interface in your browser temporarily to test.
1. Go to http://www.google.com