/home » workblog

Entries for the ‘Wordpress’ Category

Accessing cforms Data Directly

I’m using the cforms plugin on one site at the client’s request, and I needed to access some of the form’s data. Their API didn’t have what I needed, so I thought I’d just query the database directly. But when I looked at the database I didn’t see any tables for it. I thought that [...]

Home page posts missing when using Pretty Permalinks for Wordpress on IIS

I’ve been working on a problem recently with the Pretty Permalinks solution for Wordpress on IIS. I was migrating a working Wordpress blog from one server to another and once it was on the new server the front page would come up w/ the theme, but instead of the default posts it would say “Sorry, [...]

Protecting Contact Forms From Spam

I’ve had several clients complain about getting spam through their contact forms. Initially, I tried checking the referrers to make sure the comments were being submitted from a browser rather than just a bot, but that didn’t help enough. Luckily, many people have created libraries for Akismet, the anti-spam service that Wordpress uses. I setup [...]

Blank Page when using IIS Permalink hack

I use Pretty Wordpress Permalinks on IIS when I need to install WP on a windows server, but on one host I ran into a problem where I would get a blank page if the post didn’t exist instead of the theme’s 404 template. But for some reason it works fine if I just echo [...]