SEO Ultimate - Version 6.3

Version Description

Download this release

Release Info

Developer JohnLamansky
Plugin Icon 128x128 SEO Ultimate
Version 6.3
Comparing to
See all releases

Code changes from version 6.2 to 6.3

modules/canonical/canonical.php CHANGED
@@ -25,6 +25,9 @@ class SU_Canonical extends SU_Module {
25
  add_action('su_head', array(&$this, 'link_rel_canonical_tag'));
26
  }
27
 
 
 
 
28
  //Should we remove nonexistent pagination?
29
  if ($this->get_setting('remove_nonexistent_pagination'))
30
  add_action('template_redirect', array(&$this, 'remove_nonexistent_pagination'), 11);
@@ -33,7 +36,8 @@ class SU_Canonical extends SU_Module {
33
  function admin_page_contents() {
34
  $this->child_admin_form_start();
35
  $this->checkboxes(array(
36
- 'link_rel_canonical' => __('Generate <code>&lt;link rel=&quot;canonical&quot; /&gt;</code> tags.', 'seo-ultimate')
 
37
  , 'remove_nonexistent_pagination' => __('Redirect requests for nonexistent pagination.', 'seo-ultimate')
38
  ));
39
 
@@ -48,6 +52,16 @@ class SU_Canonical extends SU_Module {
48
  }
49
  }
50
 
 
 
 
 
 
 
 
 
 
 
51
  /**
52
  * Returns the canonical URL to put in the link-rel-canonical tag.
53
  *
25
  add_action('su_head', array(&$this, 'link_rel_canonical_tag'));
26
  }
27
 
28
+ if ($this->get_setting('http_link_rel_canonical'))
29
+ add_action('template_redirect', array(&$this, 'http_link_rel_canonical'), 11, 0);
30
+
31
  //Should we remove nonexistent pagination?
32
  if ($this->get_setting('remove_nonexistent_pagination'))
33
  add_action('template_redirect', array(&$this, 'remove_nonexistent_pagination'), 11);
36
  function admin_page_contents() {
37
  $this->child_admin_form_start();
38
  $this->checkboxes(array(
39
+ 'link_rel_canonical' => __('Generate <code>&lt;link rel=&quot;canonical&quot; /&gt;</code> meta tags.', 'seo-ultimate')
40
+ , 'http_link_rel_canonical' => __('Send <code>rel=&quot;canonical&quot;</code> HTTP headers.', 'seo-ultimate')
41
  , 'remove_nonexistent_pagination' => __('Redirect requests for nonexistent pagination.', 'seo-ultimate')
42
  ));
43
 
52
  }
53
  }
54
 
55
+ function http_link_rel_canonical() {
56
+ if (headers_sent())
57
+ return;
58
+
59
+ if ($url = $this->get_canonical_url()) {
60
+ $url = su_esc_attr($url);
61
+ header("Link: <$url>; rel=\"canonical\"", false);
62
+ }
63
+ }
64
+
65
  /**
66
  * Returns the canonical URL to put in the link-rel-canonical tag.
67
  *
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === SEO Ultimate ===
2
  Contributors: SEO Design Solutions, JohnLamansky
3
- Tags: seo, SEO Ultimate, suite, google, yahoo, bing, search engines, admin, post, page, custom post types, categories, tags, terms, custom taxonomies, base, title, meta, robots, noindex, nofollow, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, code, footer, modules, uninstallable, reinstallable, downgradable, import, export, CSV, affiliate
4
  Requires at least: 3.0
5
  Tested up to: 3.1
6
- Stable tag: 6.2
7
 
8
  This all-in-one SEO plugin gives you control over title tags, noindex, meta tags, slugs, canonical, autolinks, 404 errors, rich snippets, and more.
9
 
@@ -11,11 +11,11 @@ This all-in-one SEO plugin gives you control over title tags, noindex, meta tags
11
 
12
  = Recent Releases =
13
 
 
14
  * Version 6.2 adds Silo Linking to Deeplink Juggernaut
15
  * Version 6.1 fixes Link Mask Generator issues
16
  * Version 6.0 features Deeplink Juggernaut 2.0
17
  * Version 5.9 adds default category/tag meta description formats
18
- * Version 5.8 adds the Permalink Tweaker module
19
 
20
  = Features =
21
 
@@ -58,8 +58,8 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
58
  * Build internal links to your posts from within the WordPress post editor! Use "Instant Post Propulsion" technology to automatically link your old posts to new ones.
59
  * Lets you enable "Silo Linking" mode so that posts only link to other posts in the same category
60
 
61
- * **Canonicalizer**
62
- * Point search engines to preferred content access points with `<link rel="canonical" />` SEO tags.
63
  * Go beyond the basic canonical tag functionality of WordPress 2.9+ with SEO Ultimate's support for category/tag/date/author archives.
64
  * Redirect requests for non-existent pagination with a simple checkbox.
65
 
@@ -125,7 +125,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
125
  * **Nofollow Manager**
126
  * Lets you maintain `rel="nofollow"` settings when migrating from other SEO plugins
127
 
128
- * **Permalink Tweaker** -- NEW in Version 5.8
129
  * Lets you remove the permalink base for categories, tags, and/or custom taxonomies. For example, enable category base removal to convert `http://example.com/category/example` into `http://example.com/example`, and then pair that with a `/%category%/%postname%/` permalink to enable some serious SEO siloing action.
130
 
131
  * **Settings Manager**
@@ -235,6 +235,9 @@ Frequently asked questions, settings help, and troubleshooting tips for SEO Ulti
235
 
236
  == Changelog ==
237
 
 
 
 
238
  = Version 6.2 (June 24, 2011) =
239
  * Feature: Added a "Silo Linking" mode to Deeplink Juggernaut that lets you confine autolinks to posts of the same category (or tag/term)
240
 
1
  === SEO Ultimate ===
2
  Contributors: SEO Design Solutions, JohnLamansky
3
+ Tags: seo, SEO Ultimate, suite, google, yahoo, bing, search engines, admin, post, page, custom post types, categories, tags, terms, custom taxonomies, base, title, meta, robots, noindex, nofollow, canonical, HTTP headers, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks, code, footer, modules, uninstallable, reinstallable, downgradable, import, export, CSV, affiliate
4
  Requires at least: 3.0
5
  Tested up to: 3.1
6
+ Stable tag: 6.3
7
 
8
  This all-in-one SEO plugin gives you control over title tags, noindex, meta tags, slugs, canonical, autolinks, 404 errors, rich snippets, and more.
9
 
11
 
12
  = Recent Releases =
13
 
14
+ * Version 6.3 adds support for the new `rel="canonical"` HTTP headers
15
  * Version 6.2 adds Silo Linking to Deeplink Juggernaut
16
  * Version 6.1 fixes Link Mask Generator issues
17
  * Version 6.0 features Deeplink Juggernaut 2.0
18
  * Version 5.9 adds default category/tag meta description formats
 
19
 
20
  = Features =
21
 
58
  * Build internal links to your posts from within the WordPress post editor! Use "Instant Post Propulsion" technology to automatically link your old posts to new ones.
59
  * Lets you enable "Silo Linking" mode so that posts only link to other posts in the same category
60
 
61
+ * **Canonicalizer** -- UPDATED in Version 6.3
62
+ * Point search engines to preferred content access points with `<link rel="canonical" />` head tags and/or `Link: <url>; rel="canonical"` HTTP headers.
63
  * Go beyond the basic canonical tag functionality of WordPress 2.9+ with SEO Ultimate's support for category/tag/date/author archives.
64
  * Redirect requests for non-existent pagination with a simple checkbox.
65
 
125
  * **Nofollow Manager**
126
  * Lets you maintain `rel="nofollow"` settings when migrating from other SEO plugins
127
 
128
+ * **Permalink Tweaker**
129
  * Lets you remove the permalink base for categories, tags, and/or custom taxonomies. For example, enable category base removal to convert `http://example.com/category/example` into `http://example.com/example`, and then pair that with a `/%category%/%postname%/` permalink to enable some serious SEO siloing action.
130
 
131
  * **Settings Manager**
235
 
236
  == Changelog ==
237
 
238
+ = Version 6.3 (June 27, 2011) =
239
+ * Feature: Canonicalizer can now send Google's newly-supported `Link: <url>; rel="canonical"` HTTP headers
240
+
241
  = Version 6.2 (June 24, 2011) =
242
  * Feature: Added a "Silo Linking" mode to Deeplink Juggernaut that lets you confine autolinks to posts of the same category (or tag/term)
243
 
seo-ultimate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin gives you control over title tags, noindex/nofollow, meta tags, rich snippets, slugs, canonical tags, autolinks, 404 errors, rich snippets, and more.
6
- Version: 6.2
7
  Author: SEO Design Solutions
8
  Author URI: http://www.seodesignsolutions.com/
9
  Text Domain: seo-ultimate
@@ -12,7 +12,7 @@ Text Domain: seo-ultimate
12
  /**
13
  * The main SEO Ultimate plugin file.
14
  * @package SeoUltimate
15
- * @version 6.2
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
@@ -47,10 +47,10 @@ define('SU_MINIMUM_WP_VER', '3.0');
47
  //Reading plugin info from constants is faster than trying to parse it from the header above.
48
  define('SU_PLUGIN_NAME', 'SEO Ultimate');
49
  define('SU_PLUGIN_URI', 'http://www.seodesignsolutions.com/wordpress-seo/');
50
- define('SU_VERSION', '6.2');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
- define('SU_USER_AGENT', 'SeoUltimate/6.2');
54
 
55
  /********** INCLUDES **********/
56
 
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin gives you control over title tags, noindex/nofollow, meta tags, rich snippets, slugs, canonical tags, autolinks, 404 errors, rich snippets, and more.
6
+ Version: 6.3
7
  Author: SEO Design Solutions
8
  Author URI: http://www.seodesignsolutions.com/
9
  Text Domain: seo-ultimate
12
  /**
13
  * The main SEO Ultimate plugin file.
14
  * @package SeoUltimate
15
+ * @version 6.3
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
47
  //Reading plugin info from constants is faster than trying to parse it from the header above.
48
  define('SU_PLUGIN_NAME', 'SEO Ultimate');
49
  define('SU_PLUGIN_URI', 'http://www.seodesignsolutions.com/wordpress-seo/');
50
+ define('SU_VERSION', '6.3');
51
  define('SU_AUTHOR', 'SEO Design Solutions');
52
  define('SU_AUTHOR_URI', 'http://www.seodesignsolutions.com/');
53
+ define('SU_USER_AGENT', 'SeoUltimate/6.3');
54
 
55
  /********** INCLUDES **********/
56
 
seo-ultimate.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the SEO Ultimate package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: SEO Ultimate 6.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
7
- "POT-Creation-Date: 2011-06-24 21:28:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -824,7 +824,7 @@ msgstr ""
824
  msgid "SEO Design Solutions Whitepapers"
825
  msgstr ""
826
 
827
- #. #-#-#-#-# plugin.pot (SEO Ultimate 6.2) #-#-#-#-#
828
  #. Author of the plugin/theme
829
  #: modules/sds-blog/sds-blog.php:49
830
  msgid "SEO Design Solutions"
@@ -1357,7 +1357,7 @@ msgstr ""
1357
  msgid "SEO Ultimate Plugin Settings"
1358
  msgstr ""
1359
 
1360
- #. #-#-#-#-# plugin.pot (SEO Ultimate 6.2) #-#-#-#-#
1361
  #. Plugin Name of the plugin/theme
1362
  #: modules/settings/settings.php:14 plugin/class.seo-ultimate.php:767
1363
  msgid "SEO Ultimate"
@@ -1839,11 +1839,16 @@ msgstr ""
1839
  msgid "Canonicalizer"
1840
  msgstr ""
1841
 
1842
- #: modules/canonical/canonical.php:36
1843
- msgid "Generate <code>&lt;link rel=&quot;canonical&quot; /&gt;</code> tags."
 
 
 
 
 
1844
  msgstr ""
1845
 
1846
- #: modules/canonical/canonical.php:37
1847
  msgid "Redirect requests for nonexistent pagination."
1848
  msgstr ""
1849
 
2
  # This file is distributed under the same license as the SEO Ultimate package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: SEO Ultimate 6.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
7
+ "POT-Creation-Date: 2011-06-27 16:19:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
824
  msgid "SEO Design Solutions Whitepapers"
825
  msgstr ""
826
 
827
+ #. #-#-#-#-# plugin.pot (SEO Ultimate 6.3) #-#-#-#-#
828
  #. Author of the plugin/theme
829
  #: modules/sds-blog/sds-blog.php:49
830
  msgid "SEO Design Solutions"
1357
  msgid "SEO Ultimate Plugin Settings"
1358
  msgstr ""
1359
 
1360
+ #. #-#-#-#-# plugin.pot (SEO Ultimate 6.3) #-#-#-#-#
1361
  #. Plugin Name of the plugin/theme
1362
  #: modules/settings/settings.php:14 plugin/class.seo-ultimate.php:767
1363
  msgid "SEO Ultimate"
1839
  msgid "Canonicalizer"
1840
  msgstr ""
1841
 
1842
+ #: modules/canonical/canonical.php:39
1843
+ msgid ""
1844
+ "Generate <code>&lt;link rel=&quot;canonical&quot; /&gt;</code> meta tags."
1845
+ msgstr ""
1846
+
1847
+ #: modules/canonical/canonical.php:40
1848
+ msgid "Send <code>rel=&quot;canonical&quot;</code> HTTP headers."
1849
  msgstr ""
1850
 
1851
+ #: modules/canonical/canonical.php:41
1852
  msgid "Redirect requests for nonexistent pagination."
1853
  msgstr ""
1854