Smarty in your s9y sidebar

I recently discovered the "markup: smarty" event plugin in spartacus! It allows you to add smarty tags in your entries and sidebar html nuggets. I installed it and am using smarty tags within an HTML nugget sidebar plugin to selectively display links in the sidebar.

Some of the links are supposed to display sitewide while others are homepage only. Using smarty in the HTML nugget allows me to display them correctly:

Continue reading

22,000 spam messages blocked!

Yesterday I was looking through my website’s cpanel when I noticed that my mySQL database was taking 40+ MB of space. This was way too much for a my little old blog so I fired up phpmyadmin to take a closer look. It turned out that the serendipity spam block table was occupying almost all the space with over 22,000 rows in it!

Continue reading

Yes WWW! No WWW!

Most websites on the Internet can be accessed using both just their domain name and the www subdomain and domain name. For ex: www.example.com and example.com may lead to the same website. Some search engines consider the www version and the non-www version to be seperate websites and assign different Search Engine Results Page (SERP) positions and or page rank to them. This often results in a split page rank where the non-www and www versions of a site have different page rank. To prevent something like this from happening it helps to canonicalize your website URL. This means that you should select one version as a standard and redirect from the other to it.

Continue reading