404 to 301 - Version 2.2.2

Version Description

(01/06/2016) = New Feature

  • Now you can set custom redirects for reach error path.
  • Goto error logs list and set custom redirect.
  • Fixed issues with BuddyPress.

Improvements

  • Improved code.
Download this release

Release Info

Developer joelcj91
Plugin Icon 128x128 404 to 301
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

404-to-301.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: 404 to 301
4
  * Plugin URI: https://thefoxe.com/products/404-to-301/
5
  * Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
6
- * Version: 2.2.1
7
  * Author: Joel James
8
  * Author URI: https://thefoxe.com/
9
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
@@ -48,8 +48,8 @@ if ( ! class_exists( '_404_To_301' ) ) {
48
  'I4T3_SETTINGS_PAGE' => admin_url( 'admin.php?page=i4t3-settings' ),
49
  'I4T3_HELP_PAGE' => admin_url( 'admin.php?page=i4t3-settings&tab=credits' ),
50
  'I4T3_LOGS_PAGE' => admin_url( 'admin.php?page=i4t3-logs' ),
51
- 'I4T3_DB_VERSION' => '5',
52
- 'I4T3_VERSION' => '2.2.1',
53
  'I4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
54
  // Set who all can access 404 settings.
55
  // You can change this if you want to give others access.
3
  * Plugin Name: 404 to 301
4
  * Plugin URI: https://thefoxe.com/products/404-to-301/
5
  * Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
6
+ * Version: 2.2.2
7
  * Author: Joel James
8
  * Author URI: https://thefoxe.com/
9
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
48
  'I4T3_SETTINGS_PAGE' => admin_url( 'admin.php?page=i4t3-settings' ),
49
  'I4T3_HELP_PAGE' => admin_url( 'admin.php?page=i4t3-settings&tab=credits' ),
50
  'I4T3_LOGS_PAGE' => admin_url( 'admin.php?page=i4t3-logs' ),
51
+ 'I4T3_DB_VERSION' => '6',
52
+ 'I4T3_VERSION' => '2.2.2',
53
  'I4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
54
  // Set who all can access 404 settings.
55
  // You can change this if you want to give others access.
public/class-404-to-301-public.php CHANGED
@@ -379,7 +379,7 @@ class _404_To_301_Public {
379
  return '';
380
  }
381
 
382
- if( is_admin_bar_showing() && $this->is_http_available() ) {
383
 
384
  $url = 'http://' . $_SERVER[ 'HTTP_HOST' ] . $_SERVER[ 'REQUEST_URI' ];
385
  $url = @str_replace("?v=1337", "", $url);
379
  return '';
380
  }
381
 
382
+ if( ! is_admin_bar_showing() && $this->is_http_available() ) {
383
 
384
  $url = 'http://' . $_SERVER[ 'HTTP_HOST' ] . $_SERVER[ 'REQUEST_URI' ];
385
  $url = @str_replace("?v=1337", "", $url);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
5
  Requires at least: 3.5
6
  Tested up to: 4.5.2
7
- Stable tag: 2.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -128,11 +128,12 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://thefoxe.com
128
 
129
  == Changelog ==
130
 
131
- = 2.2.1 (01/06/2016) =
132
  **New Feature**
133
 
134
  - Now you can set **custom redirects** for reach error path.
135
  - Goto error logs list and set custom redirect.
 
136
 
137
  **Improvements**
138
 
@@ -291,11 +292,12 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://thefoxe.com
291
 
292
  == Upgrade Notice ==
293
 
294
- = 2.2.1 (01/06/2016) =
295
  **New Feature**
296
 
297
  - Now you can set **custom redirects** for reach error path.
298
  - Goto error logs list and set custom redirect.
 
299
 
300
  **Improvements**
301
 
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
5
  Requires at least: 3.5
6
  Tested up to: 4.5.2
7
+ Stable tag: 2.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
128
 
129
  == Changelog ==
130
 
131
+ = 2.2.2 (01/06/2016) =
132
  **New Feature**
133
 
134
  - Now you can set **custom redirects** for reach error path.
135
  - Goto error logs list and set custom redirect.
136
+ - Fixed issues with BuddyPress.
137
 
138
  **Improvements**
139
 
292
 
293
  == Upgrade Notice ==
294
 
295
+ = 2.2.2 (01/06/2016) =
296
  **New Feature**
297
 
298
  - Now you can set **custom redirects** for reach error path.
299
  - Goto error logs list and set custom redirect.
300
+ - Fixed issues with BuddyPress
301
 
302
  **Improvements**
303