Web Development

Drupal - Getting Clean URLs To Work With GoDaddy Shared Hosting

If you're using GoDaddy for your web hosting and you've installed Drupal on your shared hosting (Economy, Deluxe, or Unlimited hosting plans), then you may have run into the issue where you can't enable Clean URLs for Drupal. Fortunately, there's an easy fix. Unfortunately, the fix is so easy, I'm not sure why GoDaddy hasn't fixed this.

In your FTP client or the file browser in GoDaddy's tools, navigate to the root where your Drupal instance has been installed and look for your .htaccess file. Look for this important line, noted in red:

GoDaddy Shared Hosting Multiple-Domain And Subdomain Management

If you use GoDaddy's shared hosting plans that support multiple domains (the Deluxe or Unlimited plans) and you've tried to manage multiple domains and subdomains, then you probably are already familiar with the organizational frustrations that can occur.

In a standard web server environment, each domain and subdomain has it's own directory, usually under a hosting directory, like this:

Sending Email From PHP On GoDaddy (And Possibly Other Hosts)

Recently, while working on the temporary site for Moonfar, I wanted to send the user an email as confirmation that they had signed up for email notifications. Essentially, you define the recipient, the subject line, the body, a few headers, and then call the mail() function while passing those parameters to it. PHP's mail() function does the rest, provided that your host has PHP configured properly.

WebVisions 2008 Conference Debriefing

I recently attended the WebVisions 2008 conference in Portland, OR. It was my first conference, so I can't speak to the quality with much experience. However, my general opinion was that there was some good, some bad, and some ugly, as one might expect. That said, the good was well worth the experience. Plus, I won the grand prize raffle: Adobe CS3 Premier. Although, as of the date of this post, I have not yet received it.

You can find the podcasts of the presentations and the associated presentation slides with these links:

Add A Digg Badge To WordPress Posts/Pages

I know there are a lot of widgets and plugins for WordPress out there for adding a Digg badge to posts (I know, because I tried half a dozen or so of them) but I didn't find any that worked consistently and provided the functionality I wanted. After researching the Digg Tools API and a few other examples online, I've composed this block of code for generating Digg badges.

Eternally Up To Date Copyrights

I can't tell you how many times, both personally and professionally, I've come across web sites that have out of date copyright dates. A living, breathing, up to date site should have a current copyright date somewhere on the page, usually in the footer. Changing the year is easy enough if it's static, but it's one of those things you have to remember to do (and you have to know how to do it).

Pages

Subscribe to RSS - Web Development