Why the French & German Governments warn against using IE

Why the French &...

The French and German Governments have advised against the use of Internet Explorer, Here is an extract from the page on the Microsoft website describing the vulnerability. An attacker who successfully exploited this vulnerability could gain the same user rights as the local user....
Quickly change a colour in a stylesheet from the command line

Quickly change a col...

Change all instances of ‘#ebbc58′ to ‘#ffff33′ in all files ending .css in the directory ‘/var/www/skin/frontend/default/default/’ and all its sub-directories. find /var/www/skin/frontend/default/default/ -name “*.css” -print | xargs...
Prevent Google from indexing any pages that contain a ‘?’ (query string or session id)

Prevent Google from ...

Add this to your robots.txt User-agent: Googlebot Disallow: /*? Works with magento!

Magento – Forc...

After the line that reads ‘RewriteEngine on’ in the .htaccess file which is in the Magento root directory add these 2 lines. RewriteCond %{HTTP_HOST} ^www.yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]
Magento Image Import

Magento Image Import...

Need to put all your images in the same directory structure that Magento uses? Put all your images in the same directory and enter this: for i in *.*; do mkdir -p ${i:0:1}/${i:1:1}/; mv $i ${i:0:1}/${i:1:1}/; done; Which will move all your images into different directories depending...