When your Magento installation has multiple sites set up within it, you will probably want to change which site shows based on domain or subdomain URL. You can do this via .htaccess or your httpd virtual hosts config. Continue reading Set Magento website based on URL
You can add a couple of tags to your page html to instruct Google to not index certain parts of your content or to not use certain bits of your content for the snippets shown in the SERPs.
I was just debugging a Magento problem and thought I would list out all the available methods for the category objects I was working through. Quite handy to have as a reference I thought, so here they are.
This was a curious and frustrating problem to fix. After updating the local dev copy of a a magento site, and changing a few local folder permissions the admin area stopped working, giving instead an error message of: ERROR_CONNECTION_RESET.
Before performing any major operations on a site it is great to have the reassurance that you have a complete back up. ALWAYS do this when taking over a new project and, even though you may have your files in a .git or svn system it can be a real livesaver to just turn time back a few minutes if your major update goes pear shaped. One of my colleagues refers to this as the “get out of jail free card”. You can also use this to take a copy of the entire site when you want to move it – to a development server for example.
So, you are building a design with dynamic content and the designer or client says, “but those blocks should be the same height”, and you say “but the content changes, we don’t know how tall it can be and anyway, the height needs to be different depending on what device you are using”, etc., etc.
Here is a little jQuery function you can call to set the height of matching elements
When showing an HTML 5 video element on a non-black background a black rectangle flashed on the screen when the video element initialised but before the video file loaded. Here is how I avoided the problem.
A new security patch has been released for Magento in the last few days. I have had to patch a number of sites running different Magneto versions and ran into a couple of common issues. This might help others having trouble.
Sometimes web developers don’t need to just build websites but we need to go and poke, tweak and otherwise tinker with the server themselves. To a windows-based developer getting down and dirty with the Linux command line can be a little daunting. However, there are some standard commands that you will need which may help ease you in. Continue reading Common ssh file/folder commands for the web developer
If, after apparently a successful installation of the SUPEE-5994 patch, you get an error message along the lines of
Class ‘Mage_Install_Controller_Router_Install’ not found
Then here is a suggestion that may help.