16+1 lessons I learned from my hacked blog

LGR Hacked
LGR Hacked

A few days ago, Stratos’ Sphere was hacked, or «defaced». I’m guessing that’s what it was, because the attached image was what visitors would see, instead of my blog. This was quite ironic, actually, since I had just attended a security seminar (at work) where the «I’m safe because I’m small» attitude was found to be one of the most frequent reasons leading to hacked sites.

Here’s my account of what I had done wrong to end up with a hacked blog and what I did wrong while trying to recover, which may help others to avoid this situation or to make a faster and easier comeback.

To set the premise, let me point out that my blog is self-hosted and that I’m using a shared hosting service. I have my own domain name and I’m using cpanel in order to manage the hosted domain. So, what are the lessons I’ve learned?

Continue reading «16+1 lessons I learned from my hacked blog»


I’m currently trying out the livefyre comment management system, but it’s taking loads and loads of time for its first time run – particulartly to import all pre-existing comments. New comments are possible, older comments will appear when the process is complete. Sorry about that.

Upd: Now fixed!

Make your blog super fast with W3 Total Cache plugin

I have recently installed the W3 Total Cache plugin, and it has made a tremendous difference. I have no specific metrics, but the feeling I have is as if it loads at least three times faster!! WOW!

What makes the biggest contribution is CDN (content delivery network), which I set up on a subdomain. It is not the easiest thing to do and it took a couple hours of tweaking to get it just right. I mostly followed the instructions found here:

I also got some hints from How To Install W3 Total Cache Tutorial – Setup Guide and How To Install W3 Total Cache 0.9 Setup Guide.

In order to make it work for me, I specifically did the following things slightly differently:

Continue reading «Make your blog super fast with W3 Total Cache plugin»

How to set up «Your Own URL Shortener» (YOURLS)

Keeping up appearances

There was something that annoyed me for some time: whenever I tried to copy-paste an Internet address written in Greek, the copied text would not appear in Greek; it would appear in some weird coding, where non-Latin characters were replaced by the ASCI code equivalent of the characters. That would (a) take up too much space and (b) appear gibberish and no-one could tell what it meant.

For example, what do you make of the following mess?





Continue reading «How to set up «Your Own URL Shortener» (YOURLS)»

WordPress CKEditor with native browser spelling

If you’re using WordPress for blogging, then you should check out the plugin CKEditor for WordPress. There’s a nice demo of what it looks like

Regarding spelling, CKEditor has its own spell checker and also SCAYT. However, some bloggers may prefer to use the browser‘s embedded spell checker. For example, I use the «English & Greek» dictionary with Firefox, which really saves time as it checks spelling in two languages at once.

In order to be able to use the functionality of the embedded spell checker, you need two things: re-enable the embedded spell checker, which is disabled by default after CKEditor’s installation and then re-enable the browser’s original right-click context menu. That’s how you do it:

  1. Goto CKEditor settings, in wp-admin
  2. Goto «File Editor» option on the menu on the left.
  3. Make sure you’re editing «ckeditor.config.js»
  4. Goto the end of the file and add the following two lines, after the existing text.
  5. Save, done!

CKEDITOR.config.disableNativeSpellChecker = false;
CKEDITOR.config.browserContextMenuOnCtrl = true;

Now, a red curly line will appear every time the embedded dictionary does not recognize a word you type. With right-click, you see CKEditor’s context menu. With ctrl-right-click, you see the browser’s context menu, which includes correction suggestions!!

Solution originally posted here!

Enhanced by Zemanta

New WordPress major version and new theme!!

I installed the new v.3.0 of WordPress and in was IM-Pressed with the new default theme, «Twenty Ten«… (everyone got «2010», right?)

The default font size (16px) appeared a bit too large at first, but after experimenting (in the theme editor, «style.css», content font size)… I just went back to the default… very readable…

Very nice work, indeed! Love at first site, switched to it, right away!!

Some external links:

BTW, the theme uses Microsoft‘s Georgia font, which is simply gorgeous, but if you’re using Linux, where it does not come pre-installed by default, you may want to install the package ttf-mscore-fonts, so that you get to see what the designer really intended you to.

Funny story about these fonts, though! Microsoft released them to the public as the «core fonts for the Web» collection, during the first «browser wars» (i.e. Internet Explorer vs. Netscape Navigator), in an attempt to increase its market share. After they eliminated Netscape, Microsoft removed the fonts from their website. However, the original license said that anyone could freely redistribute these fonts, so there they are!

Enhanced by Zemanta

HOWTO: WordPress permalinks in Greek or other non-Latin languages

If you’ve had problems with WordPress permalinks in Greek or any other non-Latin language, where text appears as “?????”, here’s the solution! Thank you “Doktoras”, you’re ELVIS!!!

It’s in Greek, however, so here’s a rough translation (replace “greek_general_ci” with your language):

Continue reading «HOWTO: WordPress permalinks in Greek or other non-Latin languages»