Monthly Archive:: February 2014

Add Robots “NOINDEX,FOLLOW” to Your Contact Us Page

A lot of times you don’t want your ‘Contact Us’ page indexed by the robots, thereby making it easier for spammers and ‘sales pitch’ folks to contact you. You can very easily add “NOINDEX,FOLLOW” to your ‘Contact Us’ page by editing one local xml file. OPEN: app/design/frontend/DEFAULT/YOURTHEME/layout/local.xml inside the <layout> section (and AFTER the </default>

Error while printing pdf invoices, packing slips etc.

If you’ve recently upgraded or have a newer version of php installed, you may receive the following error while trying to print pdf invoices, packing lists etc from the admin panel. “Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in …..” After doing some research, the fix is a one line change as

Finally got GZIP Compression to work on all pages!

I’ve been trying for quite a while off and on to get page compression to work on all Magento pages with no luck. Then I finally stumbled upon something that looking back was so obvious!