Radu G.

October 12, 2010

Centos add additional repositories

yum install yum-priorities edit all .repo files from /etc/yum.repos.d/ and add bellow: [base], [addons], [updates], [extras], [centosplus] priority=1 bellow [contrib] priority=2 download RPMforge and check the […]
July 16, 2010

Cpanel: change ssl port for apache

The title it’s choosen to have cpanel word in it because changing ssl port from 443 to something else directly in http.conf will bring trouble when […]
June 25, 2010

protect server from high load

Bellow is a bash script that will save you a lot of energy and headaches when your server gets a high load. For instance if some […]
June 24, 2010

quick onsite SEO techniques to avoid duplicate content

1. redirect index.php to your main page RewriteBase / RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.yoursite.com/ [R=301,L] 2. use canonical tag properly, so for http://www.yoursite.com/my-list-of-products?orderby=name&orderway=desc […]
April 30, 2010

remove comparison links from magento

Copy app/code/core/Mage/Catalog/Helper/Product/Compare.php to app/code/local/Mage/Catalog/Helper/Product/ (create missing directories) Edit app/code/local/Mage/Catalog/Helper/Product/Compare.php after: public function getAddUrl($product) { add: return false;