Category: Wordpress
-
Writing a WordPress plugin for multisite
I use Michael Simpson’s excellent template for writing WordPress plugins. At present it does not explicitly support multisite plugins. This is a cross-post of my investigation that I posted on his site. Cross-post Thank you Michael, I have done a little reading “Professional WordPress” by Brad Williams et. al. http://shibashake.com/wordpress-theme/write-a-plugin-for-wordpress-multi-site http://www.wphub.com/tutorials/plugins-compatible-wordpress-multisite/ http://www.onextrapixel.com/2013/01/08/how-to-properly-code-your-plugin-for-a-wordpress-multisite/ These are my…
-
CSS: How to “sandbox” a DIV – a lesson in futility
I am writing this article in the spirit of the scientific principle that negative results should be published (but there is some helpful stuff later on.) Many of us today are not developing new applications but ones which must work with, or sit within other applications that generate HTML and JavaScript. One very common example is…
-
Simplifying WordPress farm deployments using symbolic links
I have previously posted on how to create a WordPress (Multisite) farm on a Bitnami server. A big problem when you manage a farm is keeping all the plug-ins up-to date. Until the release of WordPress 3.9 it was not possible to have single copy of a plug-in in a master version and then symbolically…
-
Installing Newrelic server monitoring
In a previous post I explained how to install Newrelic server application monitoring for WordPress. I now realise that this is probably putting the cart before the horse in that one should install Newrelic Server monitoring first. This is very easy. The instructions are here and at the bottom of the page it gives advice on…
-
Installing Newrelic application monitoring on Bitnami Servers
W3 Total Cache recommends Newrelic for WordPress application monitoring. Newrelic provides detailed server and application monitoring. The PHP agent tracks which pages take a long time to render and which queries take a long time to run. Install Newrelic I installed the Newrelic agent and daemon using apt get as instructed on their website. (Bitnami…
-
Managing MySQL on Bitnami AWS servers
There are two clients that can be used to manage the MySQL server on Bitnami AWS servers. phpMyAdmin This is a php application web application that has been pre-installed by Bitnami MySQL Workbench. A rich client that runs on your desktop and connects over a socket The approach is both cases is similar you need…
-
How to give an IAM user access to an S3 bucket
My backup strategy for my Bitnami WordPress Multisite has been to enable hourly snapshots in the Bitnami EC2 console. Now that I have created a WordPress Multisite farm on my server this is no longer sufficient. The reason is that I need the ability to restore (and hence backup) individual websites and the server now hosts many websites.…
-
Creating a WordPress farm on a Bitnami server
This is a work in progress and may be updated in future. Please feel free to comment. The Bitnami stack for deployment on AWS is beautifully crafted. Ubuntu Apache2 WordPress (single instance) Other PHP applications Apache2 configuration Apache is configured so that there is a default website. /opt/bitnami/apache2/htdocs with a configuration file /opt/bitnami/apache2/conf/httpd.conf /opt/bitnami/apache2/conf/httpd.conf Optimisation…
-
Understanding WordPress multisite users
— this article was updated on 4 April 2014 after a fix was identified– I have spent the whole day trying to understand WordPress users in a multisite environment. I’m not sure if it is very buggy, or I am thick or a bit of both. A multisite instance, henceforth called the “network” has its…
-
How to install a SSL certificate on a Bitnami WordPress server
In a previous post I described how to enforce SSL in this post I show how to replace the self-signed certificate with one from a Certificate Authority such as StartSLL. The standard configuration of Bitnami servers is that the Apache configuration is overwritten by an application configuration. The Bitnami server is provided with a self-signed…
