Tag Archives: wordpress

Migrate wordpress to nginx?

Read this interesting post where the author sets up a wordpress blog with nginx on an Amazon EC2 instance. Author claims he could handle 10 million hits a day. I should explore nginx some day.

Update WordPress plugins via sftp (ssh)

I have an FTP server running on my web server to easily update plugins via the web admin page since the default WordPress install only allows updates to be made via FTP and FTPS. FTP is an old protocol that is insecure. To update via sftp (ssh), install libssh2-php in Ubuntu and restart apache (credit read more »

Create a website instead of a blog from WordPress using the right theme

[Wordpress](http://wordpress.org/) is no doubt a great blogging platform. However, it is also a user-friendly [Content Manangement System](http://en.wikipedia.org/wiki/Content_management_system) (CMS) that can be used to run a website. However, you have to tweak it to not look like a blog and more like a traditional website. The easiest way to do so is probably through an appropriate read more »

Some modifications for WordPress

I recently changed my WordPress theme to [Reflex+](http://www.cssreflex.com/2011/07/google-plus-wordpress-theme.html/), a theme that resembles the current look of [Google+](http://plus.google.com/) and other Google related services. I had to make some manual modifications. ## Excerpt vs. full content for each post On the main index page, you can either show just an excerpt or the full content of each read more »

WordPress’s Syntax Highlighter Evolved messes up my code

I use email to post entries to my blog. I place code snippets in between “LEFT BRACKET plain RIGHT BRACKET” and “LEFT BRACKET /plain RIGHT BRACKET” with the “div” tag surrounding them. My code gets displayed fine using the Syntax Highlighter Evolved plugin. However, when I edit the entry in wordpress, quotes, ampersands, less than read more »

embed anything on a site easily

[This](http://mashable.com/2011/06/05/embedly-how-to/) post describes [Embedly](http://embed.ly/), a wordpress plugin that allows for the embedding of content from many content providers online using the [oEmbed](http://www.oembed.com/) protocol. Will definitely come in handy for me.

LaTeX or MathML on the web via MathJax

I recently discovered [GmailTeX](http://alexeev.org/gmailtex.html), a plugin (implemented via javascript) that displays LaTeX markup in my emails viewed through my web-based gmail account. SIDE NOTE: I implement it conkeror by creating a webjump for the bookmarklet code. GmailTeX renders the LaTeX markup via [MathJax](http://www.mathjax.org/), “an open source JavaScript display engine for mathematics that works in all read more »

Amazon EC2 free hosting (micro instance) for 1 year – Ubuntu + WordPress + Asterisk

I use old laptops as web servers at school. However, they really aren’t built to be running continuously; I have disk problems on both of my old laptops. Amazon Web Services offer a free usage tier of EC2 cloud service for 1 year. After the 1 year, the micro instance cost about $.02/hr, which is read more »

WordPress and MySQL — error establishing a database connection

My server’s been going down quite often recently (once a week). I believe it is a problem with the disk. Usually rebooting the server makes everything (including my blog) work again. Recently, I got the message “error establishing a database connection” even after the reboot. After many tries, [this](http://wpgarage.com/good-blogging-practice/crash-burn-how-to-repair-tables-in-the-wordpress-database/) worked for me. Basically, my options read more »

WordPress: post via email using Postie

WordPress’s default “post by email” setting is pretty weak, mainly because it doesn’t handle attachments (think [posterous](http://www.posterous.com/), among other things. [Postie](http://wordpress.org/extend/plugins/postie/other_notes/) is quite powerful as it can handle different attachments and can handle my LaTeX and source code content. **Note to self**: use the development version! Setting up is quite easy — you only need read more »