diff --git a/core/includes/pager.inc b/core/includes/pager.inc
index 780ff6f..1b24350 100644
--- a/core/includes/pager.inc
+++ b/core/includes/pager.inc
@@ -316,7 +316,12 @@ function template_preprocess_pager(&$variables) {
       $items[] = array(
         '#wrapper_attributes' => array('class' => array('pager-previous')),
         'link' => $li_previous,
+        'class' => array('prev'),
       );
+      //Pages: rel="next" & rel="prev" on paginated pages
+      preg_match("#<a.+?href=['\"](.+)['\"]>#i", $li_previous, $prev_match);
+      $prev_link = $GLOBALS['base_url'] . $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.
@@ -396,7 +401,12 @@ function template_preprocess_pager(&$variables) {
       $items[] = array(
         '#wrapper_attributes' => array('class' => array('pager-next')),
         'link' => $li_next,
+        'class' => array('next'),
       );
+      //Pages: rel="next" & rel="prev" on paginated pages
+      preg_match("#<a.+?href=['\"](.+)['\"]>#i", $li_next, $next_match);
+      $next_link = $GLOBALS['base_url'] . $next_match[1];
+      drupal_add_html_head_link(array('rel' => 'next', 'href' => $next_link));
     }
     if ($li_last) {
       $items[] = array(
diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index f699d4b..ad1ed6f 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -2098,11 +2098,21 @@ function template_preprocess_page(&$variables) {
     );
   }
   if (!empty($variables['secondary_menu'])) {
+
+    // Prepare secondary menu title.
+    $secondary_menu_heading = '';
+    if (theme_get_setting('features.main_menu')) {
+      $menu_enabled = module_exists('menu');
+      $secondary_links = $menu_enabled ? config('menu.settings')->get('secondary_links') : 'account';
+      $menus = $menu_enabled ? menu_get_menus() : menu_list_system_menus();
+      $secondary_menu_heading = $menus[$secondary_links];
+    }
+
     $variables['secondary_menu'] = array(
       '#theme' =>'links__system_secondary_menu',
       '#links' => $variables['secondary_menu'],
       '#heading' => array(
-        'text' => t('Secondary menu'),
+        'text' => $secondary_menu_heading,
         'class' => array('visually-hidden'),
       ),
       '#set_active_class' => TRUE,
