Archive for January, 2007

Two Drupal installations with a shared userbase

By fiLi • Jan 20th, 2007 • Category: Drupal

I’ve implemented a  ”two Drupal installations with a shared userbase” setup last week with Drupal 4.7 and to my extreme surprise it worked like a charm and the whole thing took less than 15 minutes.
I have two sites, running on the same server, each on a different database, which I wanted to use the same userbase. If [...]



Adsense Beautifier for Drupal

By fiLi • Jan 18th, 2007 • Category: Drupal, Making Money

Want to increase click rate for your Adsense ads? Wordpress users have been using the Adsense beautifier, and this is also implemented on this site. Since I run a few Drupal communities with Adsense, I thought I’d port that tweak to Drupal.
The concept is based on putting some sort of rotating colorful icons next to [...]



Automatically redirecting to the www no-www prefix

By fiLi • Jan 17th, 2007 • Category: SEO

There’s a common SEO claim that a double domain pointing to the same content isn’t good for SEO due to what can be perceived as duplicate content . Use the rewrite module to redirect all domain.com to www.domain.com by adding the following to your .htaccess :

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,QSA,L]
</IfModule>

Some people [...]



Add related links to your Drupal RSS feed

By fiLi • Jan 15th, 2007 • Category: Drupal

I’m using full RSS feeds on all my Drupal installation, because I really think it’s the right thing to do. Although it cuts down the page views which leads to less ad clicks, it’s worth the feeling of giving the users a better browsing experience for the information that I provide. But, I was looking [...]