Sep 26

Our Lead Developer Vladimir Lasky will be presenting the talk “Make WordPress Fly With Virtual Server Hosting” at WordCamp Sydney 2014, to be held on the weekend of September 27 & 28 at the University of Technology Sydney (UTS) City Campus.

His talk advocates the benefits of moving a WordPress site from shared hosting to Virtual Private Server (VPS) hosting with information on:

  • How shared hosting environments limit the performance of a WordPress site
  • How VPS environments operate
  • Why pure SSD storage on a VPS is essential for good performance
  • The limitations and drawbacks of page caching, object caching and minifying plugins
  • Why all-in-one hosting control panels are evil
  • How PHP Opcode caching is the only true way to make WordPress run faster
  • How MySQL query caching dramatically speeds up communication between WordPress and MySQL
  • Tips on securing your VPS

Vlad presents an WordPress VPS-hosting approach designed to:

  • Not be radically different from a commonly-configured LAMP software environment
  • Avoid cache invalidation-related problems and minimise plugin incompatibilities
  • Ensure that everyone sees the most current state of your WordPress site
  • Ensure that logged in users and those working in the WordPress admin backend will also experience a speed increase

The presentation slides are available on SlideShare:

Oct 18

Are you working with foreign languages or non-Latin character sets in WordPress?

Are you experiencing this problem:

  • You write a post in a foreign language that uses a non-latin script, e.g. Chinese, Korean or Japanese. When you click ‘save’ or ‘publish’, the text is then re-displayed as unreadable garbage characters.

It is likely that your WordPress MySQL database has been created with the latin1 character set instead of the UTF8-character set which is able to correctly represent most foreign languages. Many web hosting providers have set latin1 as the default for MySQL.

I experienced this problem a while back, when I was setting up a website for a client who’s in the business of providing accommodation to international students and working holidaymakers coming to Australia. He wanted the website to have translated versions of each WordPress page in the 8 most common foreign languages spoken by his clients – French, German, Swedish, Korean, Japanese, Spanish, Portuguese and Chinese. To enable support for multiple languages in WordPress, I used the plugin WPML – The WordPress Multilingual Plugin.

Things were going well, but I hit a snag when I started to add a Korean page – it looked fine when I pasted it into the visual editor, but as soon as I saved the page and viewed it, the text rendered as unreadable garbage. After doing some research and a lot of testing and debugging, I eventually solved the problem:
Continue reading »

css.php