Upgrade Magento via SSH

Disclaimer: I’ve upgraded Magento CE 1 using this process with no issues many times. I can not confirm this process will work with Magento CE 2. As always, BACKUP EVERYTHING FIRST.

  1. Disable Cache
    Navigate to System > Cache Management and disable all.
  2. Turn on Maintenance Mode
    touch maintenance.flag
  3. Clear /var
    rm -rf var
    mkdir var
  4. Backup Files & Database
  5. Start the Upgrade
    chmod -R 777 ./*
    chmod 550 ./mage
    ./mage mage-setup .
    ./mage config-set preferred_state stable
    ./mage list-installed
    ./mage list-upgrades
    ./mage upgrade-all
  6. Clean Up
    php shell/indexer.php reindexall
    chmod -R 644 ./*
    find . -type d -exec chmod 755 {} \;
    chmod 550 ./mage
    rm -rf maintenance.flag
  7. Verify and Upgrade Database by Opening the Site

Don’t forget to re-anable cache management.

I Rank Better Than You Do, Na-na Na-na Boo Boo

I rank better than you do

I’m a pretty humble person. I don’t like to taunt, but I’m from the show me state and this is the best way to show SEO best practices in action. I rank better than you do is my primary keyword, and if all goes well, this page will rank number one for the low competition phrase quickly.

Here is How I Rank Better Than You Do

The primary keyword (I rank better than you do) appears:

  1. Once in the page title.
  2. In the meta description.
  3. In the page headers.
  4. In the body copy.
  5. In link/anchor text from other pages.
  6. As the filename of the image and in the image alt attribute.
  7. In the url of the page.

While there are a number of factors that go into ranking, the seven above are the most important. This also assumes there are no issues indexing pages. As secretive as Google is regarding their search ranking algorithm, they provide pretty detailed information for webmasters through their Webmaster Guidelines and Webmaster Tools. Search engine optimization is more about attention to detail than anything else.

I hate writing, so I’m re-launching my blog

Edit Post

I hate writing because like most people, I think I suck at it. I’m hoping that’s a sign of a decent writer. I’m also a mild introvert, so the thought of writing about myself makes me cringe. Why the heck am I resurrecting my blog?

3 Reasons:

  1. The only way I’m going to get better is to practice.
  2. Writing can be therapeutic.
  3. Every once in a while I come up with an interesting thought or two, and I’d like to have those thoughts shared and archived.