Version Description
(06/04/2016) = Improvements
- Fixed broken plugin website links.
- Tested with WordPress 4.5.
Download this release
Release Info
Developer | joelcj91 |
Plugin | 404 to 301 |
Version | 2.1.6 |
Comparing to | |
See all releases |
Code changes from version 2.1.5 to 2.1.6
- 404-to-301.php +5 -5
- admin/class-404-to-301-admin.php +1 -1
- admin/class-404-to-301-logs.php +1 -1
- admin/partials/404-to-301-admin-credits-tab.php +6 -6
- admin/partials/404-to-301-admin-display.php +1 -1
- includes/class-404-to-301-activator.php +1 -1
- includes/class-404-to-301-i18n.php +1 -1
- includes/class-404-to-301-loader.php +1 -1
- includes/class-404-to-301.php +2 -2
- public/class-404-to-301-public.php +1 -1
- readme.txt +21 -16
- uninstall.php +1 -1
404-to-301.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: 404 to 301
|
4 |
-
* Plugin URI:
|
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.1.
|
7 |
* Author: Joel James
|
8 |
-
* Author URI:
|
9 |
* Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
10 |
* License: GPL-2.0+
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
@@ -28,7 +28,7 @@
|
|
28 |
* @package I4T3
|
29 |
* @category Core
|
30 |
* @author Joel James
|
31 |
-
* @version 2.1.
|
32 |
*/
|
33 |
// If this file is called directly, abort.
|
34 |
if (!defined('WPINC')) {
|
@@ -51,7 +51,7 @@ if (!defined('I4T3_DB_VERSION')) {
|
|
51 |
define('I4T3_DB_VERSION', '3');
|
52 |
}
|
53 |
if (!defined('I4T3_VERSION')) {
|
54 |
-
define('I4T3_VERSION', '2.1.
|
55 |
}
|
56 |
// Set who all can access 404 settings. You can change this if you want to give others access.
|
57 |
if (!defined('I4T3_ADMIN_PERMISSION')) {
|
1 |
<?php
|
2 |
/**
|
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.1.6
|
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
|
10 |
* License: GPL-2.0+
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
28 |
* @package I4T3
|
29 |
* @category Core
|
30 |
* @author Joel James
|
31 |
+
* @version 2.1.6
|
32 |
*/
|
33 |
// If this file is called directly, abort.
|
34 |
if (!defined('WPINC')) {
|
51 |
define('I4T3_DB_VERSION', '3');
|
52 |
}
|
53 |
if (!defined('I4T3_VERSION')) {
|
54 |
+
define('I4T3_VERSION', '2.1.6');
|
55 |
}
|
56 |
// Set who all can access 404 settings. You can change this if you want to give others access.
|
57 |
if (!defined('I4T3_ADMIN_PERMISSION')) {
|
admin/class-404-to-301-admin.php
CHANGED
@@ -10,7 +10,7 @@ if (!defined('WPINC')) {
|
|
10 |
* Defines the plugin name, version, and enqueue the dashboard-specific stylesheet, JavaScript
|
11 |
* and all other admin side functions.
|
12 |
*
|
13 |
-
* @link
|
14 |
* @since 2.0.0
|
15 |
* @package I4T3
|
16 |
* @subpackage I4T3/admin
|
10 |
* Defines the plugin name, version, and enqueue the dashboard-specific stylesheet, JavaScript
|
11 |
* and all other admin side functions.
|
12 |
*
|
13 |
+
* @link https://thefoxe.com/products/404-to-301/
|
14 |
* @since 2.0.0
|
15 |
* @package I4T3
|
16 |
* @subpackage I4T3/admin
|
admin/class-404-to-301-logs.php
CHANGED
@@ -26,7 +26,7 @@ if (!class_exists('WP_List_Table_404')) {
|
|
26 |
* This class defines all the methods to output the error logs display table using
|
27 |
* WordPress listing table class.
|
28 |
*
|
29 |
-
* @link
|
30 |
* @since 2.0.0
|
31 |
* @package I4T3
|
32 |
* @subpackage I4T3/admin
|
26 |
* This class defines all the methods to output the error logs display table using
|
27 |
* WordPress listing table class.
|
28 |
*
|
29 |
+
* @link https://thefoxe.com/products/404-to-301/
|
30 |
* @since 2.0.0
|
31 |
* @package I4T3
|
32 |
* @subpackage I4T3/admin
|
admin/partials/404-to-301-admin-credits-tab.php
CHANGED
@@ -14,13 +14,13 @@
|
|
14 |
<?php $uname = ( $current_user->user_firstname == '' ) ? $current_user->user_login : $current_user->user_firstname; ?>
|
15 |
<p><?php printf(__('Yo %s!', '404-to-301'), '<strong>' . $uname . '</strong>'); ?> <?php _e('Thank you for using 404 to 301', '404-to-301'); ?></p>
|
16 |
<p>
|
17 |
-
<?php _e('This plugin is brought to you by', '404-to-301'); ?> <a href="https://
|
18 |
</p>
|
19 |
<p>
|
20 |
<hr/>
|
21 |
</p>
|
22 |
<p>
|
23 |
-
<?php _e('So you installed this plugin and how is it doing? Feel free to', '404-to-301'); ?> <a href="https://
|
24 |
</p>
|
25 |
</div>
|
26 |
</div>
|
@@ -51,20 +51,20 @@
|
|
51 |
<span></span>
|
52 |
</div>
|
53 |
<div class="misc-pub-section">
|
54 |
-
<label><?php _e('Author', '404-to-301'); ?> : <a href="https://
|
55 |
<span></span>
|
56 |
</div>
|
57 |
<div class="misc-pub-section">
|
58 |
-
<label><a href="https://
|
59 |
<span></span>
|
60 |
</div>
|
61 |
<div class="misc-pub-section">
|
62 |
-
<label><a href="https://
|
63 |
<span></span>
|
64 |
</div>
|
65 |
<div class="misc-pub-section">
|
66 |
<label><?php _e('Need help?', '404-to-301'); ?></label>
|
67 |
-
<span><strong><a href="https://
|
68 |
</div>
|
69 |
</div>
|
70 |
</div>
|
14 |
<?php $uname = ( $current_user->user_firstname == '' ) ? $current_user->user_login : $current_user->user_firstname; ?>
|
15 |
<p><?php printf(__('Yo %s!', '404-to-301'), '<strong>' . $uname . '</strong>'); ?> <?php _e('Thank you for using 404 to 301', '404-to-301'); ?></p>
|
16 |
<p>
|
17 |
+
<?php _e('This plugin is brought to you by', '404-to-301'); ?> <a href="https://thefoxe.com/" class="i4t3-author-link" target="_blank" title="<?php _e('Visit author website', '404-to-301'); ?>"><strong>The Foxe</strong></a>, <?php _e('a web store developed and managed by Joel James.', '404-to-301'); ?>
|
18 |
</p>
|
19 |
<p>
|
20 |
<hr/>
|
21 |
</p>
|
22 |
<p>
|
23 |
+
<?php _e('So you installed this plugin and how is it doing? Feel free to', '404-to-301'); ?> <a href="https://thefoxe.com/contact/" class="i4t3-author-link" target="_blank" title="<?php _e('Contact the developer', '404-to-301'); ?>"><?php _e('get in touch with me', '404-to-301'); ?></a> <?php _e('anytime for help. I am always happy to help.', '404-to-301'); ?>
|
24 |
</p>
|
25 |
</div>
|
26 |
</div>
|
51 |
<span></span>
|
52 |
</div>
|
53 |
<div class="misc-pub-section">
|
54 |
+
<label><?php _e('Author', '404-to-301'); ?> : <a href="https://thefoxe.com/" class="i4t3-author-link" target="_blank" title="<?php _e('Visit author website', '404-to-301'); ?>">The Foxe</a></label>
|
55 |
<span></span>
|
56 |
</div>
|
57 |
<div class="misc-pub-section">
|
58 |
+
<label><a href="https://thefoxe.com/docs/docs/category/404-to-301/" class="i4t3-author-link" target="_blank" title="<?php _e('Visit plugin website', '404-to-301'); ?>"><strong><?php _e('Plugin documentation', '404-to-301'); ?></strong></a></label>
|
59 |
<span></span>
|
60 |
</div>
|
61 |
<div class="misc-pub-section">
|
62 |
+
<label><a href="https://thefoxe.com/products/404-to-301/" class="i4t3-author-link" target="_blank" title="<?php _e('Visit plugin website', '404-to-301'); ?>"><strong><?php _e('More details about the plugin', '404-to-301'); ?></strong></a></label>
|
63 |
<span></span>
|
64 |
</div>
|
65 |
<div class="misc-pub-section">
|
66 |
<label><?php _e('Need help?', '404-to-301'); ?></label>
|
67 |
+
<span><strong><a href="https://thefoxe.com/contact/"><?php _e('contact support', '404-to-301'); ?></a></strong></span>
|
68 |
</div>
|
69 |
</div>
|
70 |
</div>
|
admin/partials/404-to-301-admin-display.php
CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
7 |
*
|
8 |
* This file is used to markup the dashboard pages of the plugin.
|
9 |
*
|
10 |
-
* @link
|
11 |
* @since 2.0.0
|
12 |
*
|
13 |
* @package I4T3
|
7 |
*
|
8 |
* This file is used to markup the dashboard pages of the plugin.
|
9 |
*
|
10 |
+
* @link https://thefoxe.com/products/404-to-301/
|
11 |
* @since 2.0.0
|
12 |
*
|
13 |
* @package I4T3
|
includes/class-404-to-301-activator.php
CHANGED
@@ -9,7 +9,7 @@ if (!defined('WPINC')) {
|
|
9 |
*
|
10 |
* This class defines all code necessary to run during the plugin's activation.
|
11 |
*
|
12 |
-
* @link
|
13 |
* @since 2.0.0
|
14 |
* @package I4T3
|
15 |
* @subpackage I4T3/includes
|
9 |
*
|
10 |
* This class defines all code necessary to run during the plugin's activation.
|
11 |
*
|
12 |
+
* @link https://thefoxe.com/products/404-to-301/
|
13 |
* @since 2.0.0
|
14 |
* @package I4T3
|
15 |
* @subpackage I4T3/includes
|
includes/class-404-to-301-i18n.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Loads and defines the internationalization files for this plugin
|
7 |
* so that it is ready for translation.
|
8 |
*
|
9 |
-
* @link
|
10 |
* @since 2.0.7
|
11 |
* @package I4T3
|
12 |
* @subpackage I4T3/includes
|
6 |
* Loads and defines the internationalization files for this plugin
|
7 |
* so that it is ready for translation.
|
8 |
*
|
9 |
+
* @link https://thefoxe.com/products/404-to-301/
|
10 |
* @since 2.0.7
|
11 |
* @package I4T3
|
12 |
* @subpackage I4T3/includes
|
includes/class-404-to-301-loader.php
CHANGED
@@ -14,7 +14,7 @@ if (!defined('WPINC')) {
|
|
14 |
*
|
15 |
* @package I4T3
|
16 |
* @subpackage I4T3/includes
|
17 |
-
* @link
|
18 |
* @since 2.0.0
|
19 |
* @author Joel James <me@joelsays.com>
|
20 |
*/
|
14 |
*
|
15 |
* @package I4T3
|
16 |
* @subpackage I4T3/includes
|
17 |
+
* @link https://thefoxe.com/products/404-to-301/
|
18 |
* @since 2.0.0
|
19 |
* @author Joel James <me@joelsays.com>
|
20 |
*/
|
includes/class-404-to-301.php
CHANGED
@@ -13,7 +13,7 @@ if (!defined('WPINC')) {
|
|
13 |
* Also maintains the unique identifier of this plugin as well as the current
|
14 |
* version of the plugin.
|
15 |
*
|
16 |
-
* @link
|
17 |
* @since 2.0.0
|
18 |
* @package I4T3
|
19 |
* @subpackage I4T3/includes
|
@@ -70,7 +70,7 @@ class _404_To_301 {
|
|
70 |
public function __construct() {
|
71 |
|
72 |
$this->plugin_name = '404-to-301';
|
73 |
-
$this->version = '2.1.
|
74 |
$this->table = $GLOBALS['wpdb']->prefix . '404_to_301';
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
13 |
* Also maintains the unique identifier of this plugin as well as the current
|
14 |
* version of the plugin.
|
15 |
*
|
16 |
+
* @link https://thefoxe.com/products/404-to-301/
|
17 |
* @since 2.0.0
|
18 |
* @package I4T3
|
19 |
* @subpackage I4T3/includes
|
70 |
public function __construct() {
|
71 |
|
72 |
$this->plugin_name = '404-to-301';
|
73 |
+
$this->version = '2.1.6';
|
74 |
$this->table = $GLOBALS['wpdb']->prefix . '404_to_301';
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
public/class-404-to-301-public.php
CHANGED
@@ -9,7 +9,7 @@ if (!defined('WPINC')) {
|
|
9 |
* The public-facing functionality of the plugin.
|
10 |
*
|
11 |
*
|
12 |
-
* @link
|
13 |
* @since 2.0.0
|
14 |
* @package I4T3
|
15 |
* @subpackage I4T3/public
|
9 |
* The public-facing functionality of the plugin.
|
10 |
*
|
11 |
*
|
12 |
+
* @link https://thefoxe.com/products/404-to-301
|
13 |
* @since 2.0.0
|
14 |
* @package I4T3
|
15 |
* @subpackage I4T3/public
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== 404 to 301 ===
|
2 |
-
Contributors: joelcj91,
|
3 |
Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo redirect, error redirect, 404 seo, custom 404 page
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -39,18 +39,18 @@ You will not see any 404 error reports in your webmaster tool dashboard.
|
|
39 |
> - Follows best WordPress coding standards.<br />
|
40 |
> - Of course, available in [GitHub](https://github.com/joel-james/404-to-301)<br />
|
41 |
>
|
42 |
-
> [Installation](https://wordpress.org/plugins/404-to-301/installation/) | [Docs](
|
43 |
|
44 |
|
45 |
**Bug Reports**
|
46 |
|
47 |
-
Bug reports for 404 to 301 are always welcome. [Report here](https://
|
48 |
|
49 |
**More information**
|
50 |
|
51 |
-
- [404 to 301 - Plugin Homepage](https://
|
52 |
- Follow the developer [@Twitter](https://twitter.com/Joel_James)
|
53 |
-
- Other [WordPress plugins](https://profiles.wordpress.org/joelcj91/#content-plugins) by
|
54 |
|
55 |
**404 Errors and Redirect - More Details**
|
56 |
|
@@ -69,10 +69,10 @@ If you are confused with these terms 404,301, redirect etc, [refer this page](ht
|
|
69 |
|
70 |
|
71 |
= Need more help? =
|
72 |
-
Please take a look at the [plugin documentation](
|
73 |
|
74 |
= Missing something? =
|
75 |
-
If you would like to have an additional feature for this plugin, [let me know](http://
|
76 |
|
77 |
== Frequently Asked Questions ==
|
78 |
|
@@ -94,14 +94,14 @@ Yes. You can enable email notifications on each 404 errors (optional).
|
|
94 |
|
95 |
= I need more details =
|
96 |
|
97 |
-
Please take a look at the [plugin documentation](
|
98 |
|
99 |
|
100 |
== Other Notes ==
|
101 |
|
102 |
= Bug Reports =
|
103 |
|
104 |
-
Bug reports for 404 to 301 are always welcome. [Report here](
|
105 |
|
106 |
|
107 |
== Screenshots ==
|
@@ -112,6 +112,12 @@ Bug reports for 404 to 301 are always welcome. [Report here](http://iscode.co/bu
|
|
112 |
|
113 |
== Changelog ==
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
= 2.1.5 (22/03/2016) =
|
116 |
**Improvements**
|
117 |
|
@@ -154,7 +160,7 @@ Bug reports for 404 to 301 are always welcome. [Report here](http://iscode.co/bu
|
|
154 |
= 2.0.8 (28/10/2015) =
|
155 |
**New Feature**
|
156 |
|
157 |
-
- New option to exclude paths from error logs and redirect - [See details](https://
|
158 |
|
159 |
**Bug Fixes**
|
160 |
|
@@ -248,7 +254,6 @@ Bug reports for 404 to 301 are always welcome. [Report here](http://iscode.co/bu
|
|
248 |
|
249 |
== Upgrade Notice ==
|
250 |
|
251 |
-
= 2.1.
|
252 |
-
- Fixed
|
253 |
-
-
|
254 |
-
- Tested with WordPress 4.4.2.
|
1 |
=== 404 to 301 ===
|
2 |
+
Contributors: joelcj91,foxe
|
3 |
Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo redirect, error redirect, 404 seo, custom 404 page
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.5
|
7 |
+
Stable tag: 2.1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
39 |
> - Follows best WordPress coding standards.<br />
|
40 |
> - Of course, available in [GitHub](https://github.com/joel-james/404-to-301)<br />
|
41 |
>
|
42 |
+
> [Installation](https://wordpress.org/plugins/404-to-301/installation/) | [Docs](https://thefoxe.com/docs/docs/category/404-to-301/) | [Screenshots](https://wordpress.org/plugins/404-to-301/screenshots/)
|
43 |
|
44 |
|
45 |
**Bug Reports**
|
46 |
|
47 |
+
Bug reports for 404 to 301 are always welcome. [Report here](https://thefoxe.com/bug-report/).
|
48 |
|
49 |
**More information**
|
50 |
|
51 |
+
- [404 to 301 - Plugin Homepage](https://thefoxe.com/products/404-to-301), containing more details and docs.
|
52 |
- Follow the developer [@Twitter](https://twitter.com/Joel_James)
|
53 |
+
- Other [WordPress plugins](https://profiles.wordpress.org/joelcj91/#content-plugins) by Joel James for [The Foxe](https://thefoxe.com)
|
54 |
|
55 |
**404 Errors and Redirect - More Details**
|
56 |
|
69 |
|
70 |
|
71 |
= Need more help? =
|
72 |
+
Please take a look at the [plugin documentation](https://thefoxe.com/docs/docs/category/404-to-301/) or [open a support request](http://wordpress.org/support/plugin/404-to-301/).
|
73 |
|
74 |
= Missing something? =
|
75 |
+
If you would like to have an additional feature for this plugin, [let me know](http://thefoxe.com/support/)
|
76 |
|
77 |
== Frequently Asked Questions ==
|
78 |
|
94 |
|
95 |
= I need more details =
|
96 |
|
97 |
+
Please take a look at the [plugin documentation](https://thefoxe.com/docs/docs/category/404-to-301/) or [open a support request](http://wordpress.org/support/plugin/404-to-301/).
|
98 |
|
99 |
|
100 |
== Other Notes ==
|
101 |
|
102 |
= Bug Reports =
|
103 |
|
104 |
+
Bug reports for 404 to 301 are always welcome. [Report here](https://thefoxe.com/bug-report/).
|
105 |
|
106 |
|
107 |
== Screenshots ==
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 2.1.6 (06/04/2016) =
|
116 |
+
**Improvements**
|
117 |
+
|
118 |
+
- Fixed broken plugin website links.
|
119 |
+
- Tested with WordPress 4.5.
|
120 |
+
|
121 |
= 2.1.5 (22/03/2016) =
|
122 |
**Improvements**
|
123 |
|
160 |
= 2.0.8 (28/10/2015) =
|
161 |
**New Feature**
|
162 |
|
163 |
+
- New option to exclude paths from error logs and redirect - [See details](https://thefoxe.com/docs/items/excluding-paths-from-error-logs-and-redirects/).
|
164 |
|
165 |
**Bug Fixes**
|
166 |
|
254 |
|
255 |
== Upgrade Notice ==
|
256 |
|
257 |
+
= 2.1.6 (06/04/2016) =
|
258 |
+
- Fixed broken plugin website links.
|
259 |
+
- Tested with WordPress 4.5.
|
|
uninstall.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Removes everything that 404 to 301 added to your db.
|
7 |
*
|
8 |
*
|
9 |
-
* @link
|
10 |
* @since 2.0.0
|
11 |
* @author Joel James
|
12 |
* @package I4T3
|
6 |
* Removes everything that 404 to 301 added to your db.
|
7 |
*
|
8 |
*
|
9 |
+
* @link https://thefoxe.com/products/404-to-301/
|
10 |
* @since 2.0.0
|
11 |
* @author Joel James
|
12 |
* @package I4T3
|