Drupal

Mollom - Be gone spammers

I've now opened up the ability for anonymous users to post comments on the site. The reason? I just installed a new technology called Mollom which blocks comment spam. Here's crossing my fingers hoping it works!


( categories: )

Forcing the www in front of the url with mod_rewrite

Problem: My website could be accessed with http://www.plcdev.com or http://plcdev.com. While it doesn't seem like much of a problem it caused Google Adsense to go wacky since it doesn't have http://plcdev.com indexed. It also creates problems with search engines not realizing that these two links are the same and therefore diminishing the page rank.

Solution: You must have Apache's mod_rewrite enabled on your web host.  Create an .htaccess file and add the following

RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^([^.]+)\.(com|org) [NC]
RewriteRule (.*) http://www.%1.%2/$1 [R=301,L]


( categories: )

Getting friendly with Drupal (goodbye Mambo)

At the core of PLCDev.com is a content management system (CMS) called Drupal. I think it's fantastic. I remember the old days (circa 1997) where all the html pages were static and I did an inordinate amount of 'hard coding' and copy/paste. I then discovered how to make them 'dynamic' by using the PHP scripting language when I had to make a contact management system. There still was a lot of work to do though and worries about security.

So when I began considering new projects (like my baseball site) I went shopping for a content management system to make my life easier. After much research and trying out demos (opensourcecms.com is great for taking test drives) it came down to Mambo* and Drupal. At the time Drupal wasn't PHP5 compliant which scared me away so I went with Mambo. While Mambo is great there were two things that turned me off:


( categories: )