Technology Insights

WordPress: Getting WP Super Cache to Work With WordPress PDA & iPhone

I struggled with getting WP Super Cache in full caching mode to work with a mobile device plugin such as WordPress PDA & iPhone for a long time. Awhile back I actually had given up because everything I was doing appeared that it should work but it wasn’t working properly. Needless to say I recently moved the site to a new server and decided to give it another shot. This time I was able to get WP Super Cache working with WordPress PDA and iPhone with ease.

Please realize that this method makes it so all of the mobile browsers do not cache┬ápages but they also do not retrieve pages from the cache. To configure the below properly you have to realize that there are two different things happening which are the fact that mobile browsers should not cache files and they should not read from the cache. Basically if they didn’t cache files but read from the cache they would be reading the cache of the default template that you see in IE. If mobile browsers cached files then they would be caching the mobile template so when typical browsers such as Internet Explorer or Firefox visited the same pages they would be viewing the mobile cache instead of the default template you have configure.

Technology Insights

WordPress Not Sending Mail After Moving Site to a New Server

There could be a couple issues causing WordPress to not send mail however in a server move the most likely is that the previous server was using Sendmail and the new server is using a different mail server like Postfix or vice versa. There also are a couple ways to resolve the issue and I will explain each method below however I recommend installing a WordPress Add-on to resolve the issue versus modifying a core WordPress file that could inadvertently be overwritten in the future.

The two ways which are described in detail to resolve this issue are to either install the WP-Mail-SMTP WordPress plugin or to modify the pluggable.php file located in the /wp-root/wp-includes directory. Each method will change the way that the $phpmailer function sends mail.

Technology Insights

Upgrade PHP Version 5.1 to PHP Version 5.2 With Yum On a CentOS Server Running ISPConfig

I ran into some errors with my PHP modules on a CentOS server running ISPConfig to host web sites. I decided instead of in depth troubleshooting that it might be easier to go ahead and upgrade PHP since by default the yum package manager will limit you to PHP version 5.1 yet I knew that PHP version 5.2 had been out for a long time. What I needed to do was locate a yum repository that would allow me to upgrade PHP to version 5.2 using yum. The catch was to make sure that every necessary PHP module had an updated package available via the new yum repository. Below I describe upgrading PHP version 5.1 to PHP version 5.2 on CentOS running ISPConfig.

Technology Insights

How to Create Free iPhone Ringtones Using iTunes on Windows

Making ringtones on your iPhone ended up being easier than I thought it would be. At first I was a little frustrated finding out that you couldn’t simply convert sections of mp3’s from the iPhone into the ringtones that you wanted. Not only that but Apple computer users have the ability to create ringtones using Garage Band however that application can not be installed on Windows which leaves PC users a bit out in the cold. Anyhow after poking around I figured out how to convert mp3 files using iTunes, export them out of iTunes, rename them, and then import them back into iTunes to sync with your iPhone. You can cut any section out of any mp3 that is not copyright protected and make it a ringtone on your iPhone from your Windows PC.