WP conference in Hluboká nad Vltavou

Like many times before another czech WP conference will happen again in Hluboká nad Vltavou (3th October), where I’ll be presenting an alternative way how to withstand heavy load and basically make your website bulletproof, save you headache and money too.
The old school way via top notch technology. Serving the static version of your website thru Amazon services.
The proces in a nutshell:

  • Set up Amazon S3 bucket / Alternatively set up Cloudfront
  • Convert WP to static files (wget, httrack)
  • Run a uploading script automatically via crontab (s3cmd)
  • Serve to millions with smile on your face :)


Cannot delete files/folders with www-data user owner?

Unfortunately not all hostings give you shell access and some of them are even screwed up and you end up with folder and files you cannot delete. The server doesn’t run the php scripts as your user but as global user for example www-data. Because of that you have no permission to delete or rename the files the server made and so you are stuck and forced to call to the unwilling support, send them ticket and wait ages ;(

Or you can help your self and write one line in php and delete the bewitched folder, like so:

exec('rm -rf /var/www/vhosts/domain.com/httpdocs/wp-content/cache');

Be extremely careful and provide the right path to the folder you really wanna delete!
Run the script once.

Zachraňjidlo.cz – nice and tidy

Oki, lets show off a bit..

I’ve just finished new website. Though I haven’t designed the website, the transformation from the picture to a working interactive graphic is ..ehm, my work… I mean all the custom coding ;)
The web runs on WordPress as usual and the front-end scaffold part is nicely done in Bootstrap, obviously ;)

The result looks nice and tidy don’t you think?

Zachraň jídlo

Count even more precisely

Some people are crazy about character numbers while their write their stories. They do not want to know the actual sum of letters only but also count number of letters partially.


Download the  Wordpress plugin “Content character count live” from repository.

Character count live plugin WP 4+ ready

WordPress updated tineMCE editor from version 3 to 4. Which brings backwards incompatibility. The Character count live plugin live reflects that as well. Now compatible with last WordPress.