WordPress .htaccess tips

October 8, 2010 | No Comments Yet

Controlling how URLs behave and who access your site rely on the .htaccess file, and while some of the things it can do have a comfortable interface inside WordPress, there’s so much more to explore. WP Shout goes from A to Z of those possibilities.

For example: if you need to stop spambots, try denying no-referrer requests with this code:

RewriteEngine On
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*yourblog.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

Need to study the somewhat cryptic .htaccess language further? Head over to Apache’s official documentation.

Leave a Comment | Tags: , , , , , , , , ,

Stricter guidelines for WordCamps

May 20, 2010 | No Comments Yet

There are a lot of helpful tips for organizing a WordCamp that can be found at the official WordCamp how-to site, but what’s got people buzzing is the announcement of stricter guidelines about who can and can’t be associated with an event, from individuals to companies in various roles as organizers, speakers, and sponsors. This all depends on whether they comply with WordPress philosophies.

Lately there have been a number of WordCamps accepting speakers, sponsorships, door prizes, etc from people/companies acting in violation of the WordPress license (GPL v2) with regard to their themes/plugins. It is the official policy of WordCamp that WordCamps not provide publicity/a platform for such individuals/businesses. They are welcome to attend, but WordCamps may not have non-GPL-compliant people as organizers, sponsors, or speakers.

It’s only fair that WordPress stand its ground on matters relating to the GPL, WordCamps included. For participants who aren’t as familiar with the software, its community, and philosophy, WordCamp is the perfect venue to discuss those things.

I’m curious to see if any part of this controversy will affect the upcoming WordCamp Philippines 2010.

The complete list of guidelines can be found at WordCamp Central.

Leave a Comment | Tags: , , , , , , , , , , , , ,

Use one WordPress installation on multiple sites

May 12, 2009 | No Comments Yet

Here’s an interesting experiment: how would you like to run a single WordPress installtion of multiple webistes? Duane Storey tried just that and the details are all here.

There are a lot of other reasons why you might want a single WordPress install for multiple blogs. First, if you make backups of each blog’s data from time to time, you might end up with a complete WordPress package for each website you host, even though ultimately 90% of those files are identical (basically only themes, plugins and custom content vary). Second, if you run a hosting server with a PHP caching engine (which most do), it’s likely that the cache keeps track of data using the complete path to the file, which ultimately means the cache effectiveness will decrease proportional to the number of sites (aka WordPress installations). If all the installations on a server shared one common WordPress install, you’d only have to cache that one set of PHP files — effectively you could keep WordPress in a compiled state in memory for all of your sites.

The caching argument sounds very compelling. The key to the setup is having a more flexible wp-config.php file, coupled with some URL remapping. Check out Virtual Multiblog for WordPress for a similar approach.

Sounds complicated? Or exciting?

Leave a Comment | Tags: , , , , , , ,

The list to end all lists on How to Blog

May 26, 2008 | No Comments Yet

Look no further than Skellie’s blog for answers on all your blogging questions. Read The Pocket-sized Guide to Blogging. It’s not too long, not too short. It’s just right.

Take for example her straightforward advice about getting comments:

How to get more comments

  1. Respond.

Don’t you all agree? Skellie better provide an printer-ready version of the list; I’m sure thousands of bloggers will be asking about it!

Leave a Comment | Tags: , ,