March 2010
Implementing Search Engine Friendly (SEF) URLs in Joomla for good SEO
One of the first things I like to do after installing a new Joomla site is to activate search engine friendly (SEF) URLs. SEF URLs are human readable addresses in your web browser for various web pages on a website. Out of the box Joomla’s URLs have this basic format:
5 Ways to Enhance Your Drupal Web Site for Good SEO Best Practices

**Update, May 28, 2010 (see info below regarding Nodewords)
Drupal is a fantastic platform for developing scalable web sites. I recently switched from developing most of my web sites in Joomla to Drupal. As to the reasons why, I’ll save that for another blog post. Once I switched over to Drupal I was keenly interested in finding out the best way to optimize it for good SEO best practices.
Remove Link from Image Attach in Drupal
If you are using the Image Attach module in Drupal, you may not always want to have the image linked. Drupal links the image automatically to its own image node but sometimes you don't want that.
You can add an overide to your theme's template.php file. Note where it says 'your_theme' on line one, replace that with the name if your actual theme. You should also clear your Drupal cache after adding this code.
-
function your_theme_image_attach_body($node, $iid) {
-
$img_size = variable_get('image_attach_size_body_'. $node->type, IMAGE_THUMBNAIL);
-
-
if ($img_size != IMAGE_ATTACH_HIDDEN) {
-
drupal_add_css(drupal_get_path('module', 'image_attach') .'/image_attach.css');
-
-
$image = node_load($iid);
-
if (!node_access('view', $image)) {
-
// If the image is restricted, don't show it as an attachment.
-
return NULL;
-
}
-
$class = 'image-attach-body' . ($image->status ? '' : ' image-unpublished');
-
$info = image_get_info(file_create_path($image->images[$img_size]));
-
-
$output = '
-
</p><div class="' . $class . '">';
-
$output .= image_display($image, $img_size);
-
$output .= '</div><p>'."\n";
-
-
return $output;
-
}
-
}

