WordPress: Creating a staging version, makes the production wp-login redirect to the staging one.

I had a Redis Cache Plugin enabled for the website. It turns out that the Redis Cache Plugin uses the table prefix as a prefix for the Redis Cache keys. So if your staging site has a separate DB, but with the same prefix as in the prod one, the Redis Cache will get mixed… Continue reading WordPress: Creating a staging version, makes the production wp-login redirect to the staging one.

Google analytics is no loger working with WooCommerce out of the box

Recently I updated WooCommerce site from version 2.0.* to 2.1.* and today I noticed that the site stats from Google Analytics are no longer working. I went to the settigns page and noticed that the Integration tab where the google analytics ID was suposed to be was gone. Turns out that they dropped the Google… Continue reading Google analytics is no loger working with WooCommerce out of the box

WordPress Empty Search Template

WordPress provides you with a nice and easy way to style the search page template using the search.php in your theme. However there is something that is relatively strange related to the searches in WordPress. If somebody hits the search button without having the search field filled in it gives you the blog archieve template… Continue reading WordPress Empty Search Template

How to make your slider have multilingual support using qtranslate

If you have a multilingual site with slider which uses the featured images for slider images and you want to make it support different slide images depending on the language you might want to follow these simple steps (or you can hack it your way). Problem one: WordPress doesn’t support multiple featured images. Solution Get… Continue reading How to make your slider have multilingual support using qtranslate