diff --git a/core/includes/pager.inc b/core/includes/pager.inc
index 4c497ba..ed6bd95 100644
--- a/core/includes/pager.inc
+++ b/core/includes/pager.inc
@@ -245,7 +245,12 @@ function theme_pager($variables) {
       $items[] = array(
         '#wrapper_attributes' => array('class' => array('pager-previous')),
         '#markup' => $li_previous,
+        'class' => array('prev'),
       );
+      //Pages: rel="next" & rel="prev" on paginated pages
+      preg_match("#<a.+?href=['\"](.+)['\"]>#i", $li_previous, $prev_match);
+      $prev_link = invmodule_url_rewrite($prev_match[1]);
+      drupal_add_html_head_link(array('rel' => 'prev', 'href' => $prev_link));
     }
 
     // When there is more than one page, create the pager list.
@@ -301,7 +306,12 @@ function theme_pager($variables) {
       $items[] = array(
         '#wrapper_attributes' => array('class' => array('pager-next')),
         '#markup' => $li_next,
+        'class' => array('next'),
       );
+      //Pages: rel="next" & rel="prev" on paginated pages
+      preg_match("#<a.+?href=['\"](.+)['\"]>#i", $li_next, $next_match);
+      $next_link = invmodule_url_rewrite($next_match[1]);
+      drupal_add_html_head_link(array('rel' => 'next', 'href' => $next_link));
     }
     if ($li_last) {
       $items[] = array(
