Version Description
- added warning for Multisite installations
- updated recommended plugins
Download this release
Release Info
Developer | littlebizzy |
Plugin | Redirect 404 To Homepage |
Version | 1.0.10 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.10
- 404-to-homepage.php +10 -4
- admin-notices-ms.php +112 -0
- admin-notices.php +51 -57
- readme.txt +27 -7
404-to-homepage.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: 404 To Homepage
|
4 |
Plugin URI: https://www.littlebizzy.com/plugins/404-to-homepage
|
5 |
Description: Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings.
|
6 |
-
Version: 1.0.
|
7 |
Author: LittleBizzy
|
8 |
Author URI: https://www.littlebizzy.com
|
9 |
License: GPLv3
|
@@ -15,8 +15,14 @@ Prefix: NTFTHP
|
|
15 |
require_once dirname(__FILE__).'/admin-notices.php';
|
16 |
NTFTHP_Admin_Notices::instance(__FILE__);
|
17 |
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
// Block direct calls
|
22 |
if (!function_exists('add_action'))
|
@@ -25,7 +31,7 @@ if (!function_exists('add_action'))
|
|
25 |
// Plugin constants
|
26 |
define('NTFTHP_FILE', __FILE__);
|
27 |
define('NTFTHP_PATH', dirname(NTFTHP_FILE));
|
28 |
-
define('NTFTHP_VERSION', '1.0.
|
29 |
|
30 |
|
31 |
/* 404 hooks */
|
3 |
Plugin Name: 404 To Homepage
|
4 |
Plugin URI: https://www.littlebizzy.com/plugins/404-to-homepage
|
5 |
Description: Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings.
|
6 |
+
Version: 1.0.10
|
7 |
Author: LittleBizzy
|
8 |
Author URI: https://www.littlebizzy.com
|
9 |
License: GPLv3
|
15 |
require_once dirname(__FILE__).'/admin-notices.php';
|
16 |
NTFTHP_Admin_Notices::instance(__FILE__);
|
17 |
|
18 |
+
/**
|
19 |
+
* Admin Notices Multisite check
|
20 |
+
* Uncomment //return to disable this plugin on Multisite installs
|
21 |
+
*/
|
22 |
+
require_once dirname(__FILE__).'/admin-notices-ms.php';
|
23 |
+
if (false !== \LittleBizzy\FourZeroFourToHomepage\Admin_Notices_MS::instance(__FILE__)) {
|
24 |
+
//return;
|
25 |
+
}
|
26 |
|
27 |
// Block direct calls
|
28 |
if (!function_exists('add_action'))
|
31 |
// Plugin constants
|
32 |
define('NTFTHP_FILE', __FILE__);
|
33 |
define('NTFTHP_PATH', dirname(NTFTHP_FILE));
|
34 |
+
define('NTFTHP_VERSION', '1.0.10');
|
35 |
|
36 |
|
37 |
/* 404 hooks */
|
admin-notices-ms.php
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Subpackage namespace
|
4 |
+
namespace LittleBizzy\FourZeroFourToHomepage;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Admin Notices MultiSite class
|
8 |
+
*
|
9 |
+
* @package WordPress
|
10 |
+
* @subpackage Admin Notices MultiSite
|
11 |
+
*/
|
12 |
+
final class Admin_Notices_MS {
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
// Configuration
|
17 |
+
// ---------------------------------------------------------------------------------------------------
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Custom message
|
23 |
+
* Mark %plugin% reflects the plugin name
|
24 |
+
*/
|
25 |
+
private $message = 'Sorry! For performance reasons, WordPress Multisite is not supported by <strong>%plugin%</strong>. Achieve top speed and security with a <a href="https://www.littlebizzy.com/hosting?utm_source=multisite" target="_blank">dedicated Nginx VPS</a> for every site.';
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
// Internal properties (do not touch from here)
|
30 |
+
// ---------------------------------------------------------------------------------------------------
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Caller plugin file
|
36 |
+
*/
|
37 |
+
private $plugin_file;
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Single class instance
|
43 |
+
*/
|
44 |
+
private static $instance;
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
// Initialization
|
49 |
+
// ---------------------------------------------------------------------------------------------------
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Create or retrieve instance
|
55 |
+
*/
|
56 |
+
public static function instance($plugin_file = null) {
|
57 |
+
|
58 |
+
// Avoid direct calls
|
59 |
+
if (!function_exists('add_action'))
|
60 |
+
die;
|
61 |
+
|
62 |
+
// Single install
|
63 |
+
if (!is_multisite())
|
64 |
+
return false;
|
65 |
+
|
66 |
+
// Check instance
|
67 |
+
if (!isset(self::$instance))
|
68 |
+
self::$instance = new self($plugin_file);
|
69 |
+
|
70 |
+
// Done
|
71 |
+
return self::$instance;
|
72 |
+
}
|
73 |
+
|
74 |
+
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Constructor
|
78 |
+
*/
|
79 |
+
private function __construct($plugin_file = null) {
|
80 |
+
|
81 |
+
// Main plugin file
|
82 |
+
$this->plugin_file = isset($plugin_file)? $plugin_file : __FILE__;
|
83 |
+
|
84 |
+
// Admin notices both in admin and network admin
|
85 |
+
add_action('admin_notices', [&$this, 'adminNoticesMS']);
|
86 |
+
add_action('network_admin_notices', [&$this, 'adminNoticesMS']);
|
87 |
+
}
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
// WP Hooks
|
92 |
+
// ---------------------------------------------------------------------------------------------------
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
/**
|
97 |
+
* The admin notice message
|
98 |
+
*/
|
99 |
+
public function adminNoticesMS() {
|
100 |
+
|
101 |
+
$plugin_data = get_plugin_data($this->plugin_file);
|
102 |
+
|
103 |
+
?><div class="notice notice-error">
|
104 |
+
|
105 |
+
<p><?php echo str_replace('%plugin%', $plugin_data['Name'], $this->message); ?></p>
|
106 |
+
|
107 |
+
</div><?php
|
108 |
+
}
|
109 |
+
|
110 |
+
|
111 |
+
|
112 |
+
}
|
admin-notices.php
CHANGED
@@ -31,41 +31,16 @@ final class NTFTHP_Admin_Notices {
|
|
31 |
private $days_dismissing_suggestions = 180; // 6 months reappear
|
32 |
private $suggestions_message = '%plugin% recommends the following free plugins:';
|
33 |
private $suggestions = array(
|
34 |
-
'cf-littlebizzy' => array(
|
35 |
-
'name' => 'CloudFlare',
|
36 |
-
'desc' => 'Easily connect your WordPress website to free optimization features from CloudFlare, including one-click options to purge cache and enable dev mode.',
|
37 |
-
'filename' => 'cloudflare.php',
|
38 |
-
),
|
39 |
'force-https-littlebizzy' => array(
|
40 |
'name' => 'Force HTTPS',
|
41 |
'desc' => 'Redirects all HTTP requests to the HTTPS version and fixes all insecure static resources without altering the database (also works with CloudFlare).',
|
42 |
'filename' => 'force-https.php',
|
43 |
),
|
44 |
-
'remove-query-strings-littlebizzy' => array(
|
45 |
-
'name' => 'Remove Query Strings',
|
46 |
-
'desc' => 'Removes all query strings from static resources meaning that proxy servers and beyond can better cache your site content (plus, better SEO scores).',
|
47 |
-
'filename' => 'remove-query-strings.php',
|
48 |
-
),
|
49 |
'remove-category-base-littlebizzy' => array(
|
50 |
'name' => 'Remove Category Base',
|
51 |
'desc' => 'Completely disables the category base from all URLs generated by WordPress so that there is no category slug displayed on archive permalinks, etc.',
|
52 |
'filename' => 'remove-category-base.php',
|
53 |
),
|
54 |
-
'server-status-littlebizzy' => array(
|
55 |
-
'name' => 'Server Status',
|
56 |
-
'desc' => 'Useful statistics about the server OS, CPU, RAM, load average, memory usage, IP address, hostname, timezone, disk space, PHP, MySQL, caches, etc.',
|
57 |
-
'filename' => 'server-status.php',
|
58 |
-
),
|
59 |
-
'disable-embeds-littlebizzy' => array(
|
60 |
-
'name' => 'Disable Embeds',
|
61 |
-
'desc' => 'Disables both external and internal embedding functions to avoid slow page render, instability and SEO issues, and to improve overall loading speed.',
|
62 |
-
'filename' => 'disable-embeds.php',
|
63 |
-
),
|
64 |
-
'disable-xml-rpc-littlebizzy' => array(
|
65 |
-
'name' => 'Disable XML-RPC',
|
66 |
-
'desc' => 'Completely disables all XML-RPC related functions in WordPress including pingbacks and trackbacks, and helps prevent attacks on the xmlrpc.php file.',
|
67 |
-
'filename' => 'disable-xml-rpc.php',
|
68 |
-
),
|
69 |
'disable-author-pages-littlebizzy' => array(
|
70 |
'name' => 'Disable Author Pages',
|
71 |
'desc' => 'Completely disables author archives which then become 404 errors, converts author links to homepage links, and works with or without fancy permalinks.',
|
@@ -76,10 +51,15 @@ final class NTFTHP_Admin_Notices {
|
|
76 |
'desc' => 'Completely disables the built-in WordPress search function to prevent snoopers or bots from querying your database or slowing down your website.',
|
77 |
'filename' => 'disable-search.php',
|
78 |
),
|
79 |
-
'
|
80 |
-
'name' => '
|
81 |
-
'desc' => '
|
82 |
-
'filename' => '
|
|
|
|
|
|
|
|
|
|
|
83 |
),
|
84 |
);
|
85 |
|
@@ -199,7 +179,7 @@ final class NTFTHP_Admin_Notices {
|
|
199 |
|
200 |
// Admin area (except install or activate plugins page)
|
201 |
} elseif (!in_array(basename($_SERVER['PHP_SELF']), array('plugins.php', 'plugin-install.php', 'update.php'))) {
|
202 |
-
add_action('
|
203 |
}
|
204 |
}
|
205 |
}
|
@@ -225,14 +205,7 @@ final class NTFTHP_Admin_Notices {
|
|
225 |
|
226 |
// Admin area (except install or activate plugins page)
|
227 |
} elseif (!in_array(basename($_SERVER['PHP_SELF']), array('plugins.php', 'plugin-install.php', 'update.php'))) {
|
228 |
-
|
229 |
-
// Check the disable nag constant
|
230 |
-
if ($this->disable_nag_notices())
|
231 |
-
return;
|
232 |
-
|
233 |
-
// Admin hooks
|
234 |
-
add_action('admin_footer', array(&$this, 'admin_footer_rate_us'));
|
235 |
-
add_action('admin_notices', array(&$this, 'admin_notices_rate_us'));
|
236 |
}
|
237 |
}
|
238 |
}
|
@@ -240,6 +213,46 @@ final class NTFTHP_Admin_Notices {
|
|
240 |
|
241 |
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
// Admin Notices display
|
244 |
// ---------------------------------------------------------------------------------------------------
|
245 |
|
@@ -313,25 +326,6 @@ final class NTFTHP_Admin_Notices {
|
|
313 |
|
314 |
|
315 |
|
316 |
-
/**
|
317 |
-
* Check current active plugins
|
318 |
-
*/
|
319 |
-
public function plugins_loaded() {
|
320 |
-
|
321 |
-
// Check the disable nag constant
|
322 |
-
if ($this->disable_nag_notices())
|
323 |
-
return;
|
324 |
-
|
325 |
-
// Collect missing plugins
|
326 |
-
$this->missing = $this->get_missing_plugins();
|
327 |
-
if (!empty($this->missing) && is_array($this->missing)) {
|
328 |
-
add_action('admin_footer', array(&$this, 'admin_footer_suggestions'));
|
329 |
-
add_action('admin_notices', array(&$this, 'admin_notices_suggestions'));
|
330 |
-
}
|
331 |
-
}
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
/**
|
336 |
* Retrieve uninstalled plugins
|
337 |
*/
|
31 |
private $days_dismissing_suggestions = 180; // 6 months reappear
|
32 |
private $suggestions_message = '%plugin% recommends the following free plugins:';
|
33 |
private $suggestions = array(
|
|
|
|
|
|
|
|
|
|
|
34 |
'force-https-littlebizzy' => array(
|
35 |
'name' => 'Force HTTPS',
|
36 |
'desc' => 'Redirects all HTTP requests to the HTTPS version and fixes all insecure static resources without altering the database (also works with CloudFlare).',
|
37 |
'filename' => 'force-https.php',
|
38 |
),
|
|
|
|
|
|
|
|
|
|
|
39 |
'remove-category-base-littlebizzy' => array(
|
40 |
'name' => 'Remove Category Base',
|
41 |
'desc' => 'Completely disables the category base from all URLs generated by WordPress so that there is no category slug displayed on archive permalinks, etc.',
|
42 |
'filename' => 'remove-category-base.php',
|
43 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
'disable-author-pages-littlebizzy' => array(
|
45 |
'name' => 'Disable Author Pages',
|
46 |
'desc' => 'Completely disables author archives which then become 404 errors, converts author links to homepage links, and works with or without fancy permalinks.',
|
51 |
'desc' => 'Completely disables the built-in WordPress search function to prevent snoopers or bots from querying your database or slowing down your website.',
|
52 |
'filename' => 'disable-search.php',
|
53 |
),
|
54 |
+
'duplicate-post-littlebizzy' => array(
|
55 |
+
'name' => 'Duplicate Post',
|
56 |
+
'desc' => 'Easily duplicate (clone) any post, custom post, or page which are then saved in Draft mode, saving you tons of time and headache (no settings page).',
|
57 |
+
'filename' => 'duplicate-post.php',
|
58 |
+
),
|
59 |
+
'server-status-littlebizzy' => array(
|
60 |
+
'name' => 'Server Status',
|
61 |
+
'desc' => 'Useful statistics about the server OS, CPU, RAM, load average, memory usage, IP address, hostname, timezone, disk space, PHP, MySQL, caches, etc.',
|
62 |
+
'filename' => 'server-status.php',
|
63 |
),
|
64 |
);
|
65 |
|
179 |
|
180 |
// Admin area (except install or activate plugins page)
|
181 |
} elseif (!in_array(basename($_SERVER['PHP_SELF']), array('plugins.php', 'plugin-install.php', 'update.php'))) {
|
182 |
+
add_action('wp_loaded', array(&$this, 'load_notices_suggestions'), PHP_INT_MAX);
|
183 |
}
|
184 |
}
|
185 |
}
|
205 |
|
206 |
// Admin area (except install or activate plugins page)
|
207 |
} elseif (!in_array(basename($_SERVER['PHP_SELF']), array('plugins.php', 'plugin-install.php', 'update.php'))) {
|
208 |
+
add_action('wp_loaded', array(&$this, 'load_notices_rate_us'), PHP_INT_MAX);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
}
|
210 |
}
|
211 |
}
|
213 |
|
214 |
|
215 |
|
216 |
+
// Loaders
|
217 |
+
// ---------------------------------------------------------------------------------------------------
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
/**
|
222 |
+
* Check and load the sugestions notices
|
223 |
+
*/
|
224 |
+
public function load_notices_suggestions() {
|
225 |
+
|
226 |
+
// Check the disable nag constant
|
227 |
+
if ($this->disable_nag_notices())
|
228 |
+
return;
|
229 |
+
|
230 |
+
// Collect missing plugins
|
231 |
+
$this->missing = $this->get_missing_plugins();
|
232 |
+
if (!empty($this->missing) && is_array($this->missing)) {
|
233 |
+
add_action('admin_footer', array(&$this, 'admin_footer_suggestions'));
|
234 |
+
add_action('admin_notices', array(&$this, 'admin_notices_suggestions'));
|
235 |
+
}
|
236 |
+
}
|
237 |
+
|
238 |
+
|
239 |
+
|
240 |
+
/**
|
241 |
+
* Check and load the rate us notices
|
242 |
+
*/
|
243 |
+
public function load_notices_rate_us() {
|
244 |
+
|
245 |
+
// Check the disable nag constant
|
246 |
+
if ($this->disable_nag_notices())
|
247 |
+
return;
|
248 |
+
|
249 |
+
// Admin hooks
|
250 |
+
add_action('admin_footer', array(&$this, 'admin_footer_rate_us'));
|
251 |
+
add_action('admin_notices', array(&$this, 'admin_notices_rate_us'));
|
252 |
+
}
|
253 |
+
|
254 |
+
|
255 |
+
|
256 |
// Admin Notices display
|
257 |
// ---------------------------------------------------------------------------------------------------
|
258 |
|
326 |
|
327 |
|
328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
/**
|
330 |
* Retrieve uninstalled plugins
|
331 |
*/
|
readme.txt
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
=== Redirect 404 To Homepage ===
|
2 |
|
3 |
Contributors: littlebizzy
|
|
|
4 |
Tags: 404, errors, redirect, 301, homepage
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 7.0
|
8 |
Multisite support: No
|
9 |
-
Stable tag: 1.0.
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
Prefix: NTFTHP
|
@@ -17,9 +18,12 @@ Redirects all 404 (Not Found) errors to the homepage for a better user experienc
|
|
17 |
|
18 |
Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings.
|
19 |
|
|
|
20 |
* [Plugin Homepage](https://www.littlebizzy.com/plugins/404-to-homepage)
|
21 |
* [Plugin GitHub](https://github.com/littlebizzy/404-to-homepage)
|
22 |
* [SlickStack](https://slickstack.io)
|
|
|
|
|
23 |
|
24 |
#### The Long Version ####
|
25 |
|
@@ -70,17 +74,21 @@ This plugin was partially inspired either in "code or concept" by the open-sourc
|
|
70 |
|
71 |
We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:
|
72 |
|
|
|
73 |
* [404 To Homepage](https://wordpress.org/plugins/404-to-homepage-littlebizzy/)
|
74 |
* [CloudFlare](https://wordpress.org/plugins/cf-littlebizzy/)
|
|
|
|
|
75 |
* [Disable Author Pages](https://wordpress.org/plugins/disable-author-pages-littlebizzy/)
|
76 |
* [Disable Cart Fragments](https://wordpress.org/plugins/disable-cart-fragments-littlebizzy/)
|
77 |
* [Disable Embeds](https://wordpress.org/plugins/disable-embeds-littlebizzy/)
|
78 |
* [Disable Emojis](https://wordpress.org/plugins/disable-emojis-littlebizzy/)
|
79 |
* [Disable Empty Trash](https://wordpress.org/plugins/disable-empty-trash-littlebizzy/)
|
80 |
* [Disable Image Compression](https://wordpress.org/plugins/disable-image-compression-littlebizzy/)
|
|
|
81 |
* [Disable Search](https://wordpress.org/plugins/disable-search-littlebizzy/)
|
82 |
* [Disable WooCommerce Status](https://wordpress.org/plugins/disable-wc-status-littlebizzy/)
|
83 |
-
* [Disable WooCommerce Styles](https://wordpress.org/plugins/
|
84 |
* [Disable XML-RPC](https://wordpress.org/plugins/disable-xml-rpc-littlebizzy/)
|
85 |
* [Download Media](https://wordpress.org/plugins/download-media-littlebizzy/)
|
86 |
* [Download Plugin](https://wordpress.org/plugins/download-plugin-littlebizzy/)
|
@@ -90,6 +98,7 @@ We invite you to check out a few other related free plugins that our team has al
|
|
90 |
* [Force HTTPS](https://wordpress.org/plugins/force-https-littlebizzy/)
|
91 |
* [Force Strong Hashing](https://wordpress.org/plugins/force-strong-hashing-littlebizzy/)
|
92 |
* [Google Analytics](https://wordpress.org/plugins/ga-littlebizzy/)
|
|
|
93 |
* [Index Autoload](https://wordpress.org/plugins/index-autoload-littlebizzy/)
|
94 |
* [Maintenance Mode](https://wordpress.org/plugins/maintenance-mode-littlebizzy/)
|
95 |
* [Profile Change Alerts](https://wordpress.org/plugins/profile-change-alerts-littlebizzy/)
|
@@ -104,21 +113,24 @@ We invite you to check out a few other related free plugins that our team has al
|
|
104 |
|
105 |
We invite you to check out a few premium plugins that our team has also produced that you may find especially useful:
|
106 |
|
107 |
-
* [Purge Them All](https://www.littlebizzy.com/plugins/purge-them-all)
|
108 |
* [Speed Demon](https://www.littlebizzy.com/plugins/speed-demon)
|
109 |
* [SEO Genius](https://www.littlebizzy.com/plugins/seo-genius)
|
110 |
* [Great Migration](https://www.littlebizzy.com/plugins/great-migration)
|
|
|
|
|
111 |
|
112 |
#### Special Thanks ####
|
113 |
|
114 |
We thank the following groups for their generous contributions to the WordPress community which have particularly benefited us in developing our own free plugins and paid services:
|
115 |
|
116 |
* [Automattic](https://automattic.com)
|
|
|
117 |
* [Daniel Auener](http://www.danielauener.com)
|
118 |
* [Delicious Brains](https://deliciousbrains.com)
|
119 |
* [Greg Rickaby](https://gregrickaby.com)
|
120 |
* [Matt Mullenweg](https://ma.tt)
|
121 |
* [Mika Epstein](https://halfelf.org)
|
|
|
122 |
* [Samuel Wood](http://ottopress.com)
|
123 |
* [Scott Reilly](http://coffee2code.com)
|
124 |
* [Jan Dembowski](https://profiles.wordpress.org/jdembowski)
|
@@ -130,6 +142,7 @@ We thank the following groups for their generous contributions to the WordPress
|
|
130 |
* [Rahul Bansal](https://profiles.wordpress.org/rahul286)
|
131 |
* [Roots](https://roots.io)
|
132 |
* [rtCamp](https://rtcamp.com)
|
|
|
133 |
* [WP Chat](https://wpchat.com)
|
134 |
* [WP Tavern](https://wptavern.com)
|
135 |
|
@@ -163,19 +176,26 @@ Please avoid leaving negative reviews in order to get a feature implemented. Ins
|
|
163 |
|
164 |
== Changelog ==
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
= 1.0.8 =
|
167 |
* tested with WP 4.9
|
168 |
* updated plugin meta
|
169 |
* updated recommended plugins
|
170 |
-
*
|
171 |
|
172 |
= 1.0.7 =
|
173 |
-
*
|
174 |
* updated recommended plugins
|
175 |
* added rating request
|
176 |
|
177 |
= 1.0.6 =
|
178 |
-
* added filter to "skip" WP Admin,
|
179 |
* updated recommended plugins
|
180 |
|
181 |
= 1.0.5 =
|
@@ -189,7 +209,7 @@ Please avoid leaving negative reviews in order to get a feature implemented. Ins
|
|
189 |
|
190 |
= 1.0.2 =
|
191 |
* updated plugin meta
|
192 |
-
* tested with
|
193 |
|
194 |
= 1.0.1 =
|
195 |
* updated plugin meta
|
1 |
=== Redirect 404 To Homepage ===
|
2 |
|
3 |
Contributors: littlebizzy
|
4 |
+
Donate link: https://www.patreon.com/littlebizzy
|
5 |
Tags: 404, errors, redirect, 301, homepage
|
6 |
Requires at least: 4.4
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 7.0
|
9 |
Multisite support: No
|
10 |
+
Stable tag: 1.0.10
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
13 |
Prefix: NTFTHP
|
18 |
|
19 |
Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings.
|
20 |
|
21 |
+
* [**Join our free Facebook group for support**](https://www.facebook.com/groups/littlebizzy/)
|
22 |
* [Plugin Homepage](https://www.littlebizzy.com/plugins/404-to-homepage)
|
23 |
* [Plugin GitHub](https://github.com/littlebizzy/404-to-homepage)
|
24 |
* [SlickStack](https://slickstack.io)
|
25 |
+
* [WP Lite Boilerplate](https://wplite.org)
|
26 |
+
* [Starter Theme](https://starter.littlebizzy.com)
|
27 |
|
28 |
#### The Long Version ####
|
29 |
|
74 |
|
75 |
We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:
|
76 |
|
77 |
+
|
78 |
* [404 To Homepage](https://wordpress.org/plugins/404-to-homepage-littlebizzy/)
|
79 |
* [CloudFlare](https://wordpress.org/plugins/cf-littlebizzy/)
|
80 |
+
* [Delete Expired Transients](https://wordpress.org/plugins/delete-expired-transients-littlebizzy/)
|
81 |
+
* [Disable Admin-AJAX](https://wordpress.org/plugins/disable-admin-ajax-littlebizzy/)
|
82 |
* [Disable Author Pages](https://wordpress.org/plugins/disable-author-pages-littlebizzy/)
|
83 |
* [Disable Cart Fragments](https://wordpress.org/plugins/disable-cart-fragments-littlebizzy/)
|
84 |
* [Disable Embeds](https://wordpress.org/plugins/disable-embeds-littlebizzy/)
|
85 |
* [Disable Emojis](https://wordpress.org/plugins/disable-emojis-littlebizzy/)
|
86 |
* [Disable Empty Trash](https://wordpress.org/plugins/disable-empty-trash-littlebizzy/)
|
87 |
* [Disable Image Compression](https://wordpress.org/plugins/disable-image-compression-littlebizzy/)
|
88 |
+
* [Disable jQuery Migrate](https://wordpress.org/plugins/disable-jq-migrate-littlebizzy/)
|
89 |
* [Disable Search](https://wordpress.org/plugins/disable-search-littlebizzy/)
|
90 |
* [Disable WooCommerce Status](https://wordpress.org/plugins/disable-wc-status-littlebizzy/)
|
91 |
+
* [Disable WooCommerce Styles](https://wordpress.org/plugins/disable-wc-styles-littlebizzy/)
|
92 |
* [Disable XML-RPC](https://wordpress.org/plugins/disable-xml-rpc-littlebizzy/)
|
93 |
* [Download Media](https://wordpress.org/plugins/download-media-littlebizzy/)
|
94 |
* [Download Plugin](https://wordpress.org/plugins/download-plugin-littlebizzy/)
|
98 |
* [Force HTTPS](https://wordpress.org/plugins/force-https-littlebizzy/)
|
99 |
* [Force Strong Hashing](https://wordpress.org/plugins/force-strong-hashing-littlebizzy/)
|
100 |
* [Google Analytics](https://wordpress.org/plugins/ga-littlebizzy/)
|
101 |
+
* [Header Cleanup](https://wordpress.org/plugins/header-cleanup-littlebizzy/)
|
102 |
* [Index Autoload](https://wordpress.org/plugins/index-autoload-littlebizzy/)
|
103 |
* [Maintenance Mode](https://wordpress.org/plugins/maintenance-mode-littlebizzy/)
|
104 |
* [Profile Change Alerts](https://wordpress.org/plugins/profile-change-alerts-littlebizzy/)
|
113 |
|
114 |
We invite you to check out a few premium plugins that our team has also produced that you may find especially useful:
|
115 |
|
|
|
116 |
* [Speed Demon](https://www.littlebizzy.com/plugins/speed-demon)
|
117 |
* [SEO Genius](https://www.littlebizzy.com/plugins/seo-genius)
|
118 |
* [Great Migration](https://www.littlebizzy.com/plugins/great-migration)
|
119 |
+
* [Security Guard](https://www.littlebizzy.com/plugins/security-guard)
|
120 |
+
* [Genghis Khan](https://www.littlebizzy.com/plugins/genghis-khan)
|
121 |
|
122 |
#### Special Thanks ####
|
123 |
|
124 |
We thank the following groups for their generous contributions to the WordPress community which have particularly benefited us in developing our own free plugins and paid services:
|
125 |
|
126 |
* [Automattic](https://automattic.com)
|
127 |
+
* [Brad Touesnard](https://bradt.ca)
|
128 |
* [Daniel Auener](http://www.danielauener.com)
|
129 |
* [Delicious Brains](https://deliciousbrains.com)
|
130 |
* [Greg Rickaby](https://gregrickaby.com)
|
131 |
* [Matt Mullenweg](https://ma.tt)
|
132 |
* [Mika Epstein](https://halfelf.org)
|
133 |
+
* [Mike Garrett](https://mikengarrett.com)
|
134 |
* [Samuel Wood](http://ottopress.com)
|
135 |
* [Scott Reilly](http://coffee2code.com)
|
136 |
* [Jan Dembowski](https://profiles.wordpress.org/jdembowski)
|
142 |
* [Rahul Bansal](https://profiles.wordpress.org/rahul286)
|
143 |
* [Roots](https://roots.io)
|
144 |
* [rtCamp](https://rtcamp.com)
|
145 |
+
* [Ryan Hellyer](https://geek.hellyer.kiwi)
|
146 |
* [WP Chat](https://wpchat.com)
|
147 |
* [WP Tavern](https://wptavern.com)
|
148 |
|
176 |
|
177 |
== Changelog ==
|
178 |
|
179 |
+
= 1.0.10 =
|
180 |
+
* added warning for Multisite installations
|
181 |
+
* updated recommended plugins
|
182 |
+
|
183 |
+
= 1.0.9 =
|
184 |
+
* better support for `define('DISABLE_NAG_NOTICES', true);`
|
185 |
+
|
186 |
= 1.0.8 =
|
187 |
* tested with WP 4.9
|
188 |
* updated plugin meta
|
189 |
* updated recommended plugins
|
190 |
+
* partial support for `define('DISABLE_NAG_NOTICES', true);`
|
191 |
|
192 |
= 1.0.7 =
|
193 |
+
* optimized plugin code
|
194 |
* updated recommended plugins
|
195 |
* added rating request
|
196 |
|
197 |
= 1.0.6 =
|
198 |
+
* added filter to "skip" WP Admin, WP Cron, and XML-RPC requests
|
199 |
* updated recommended plugins
|
200 |
|
201 |
= 1.0.5 =
|
209 |
|
210 |
= 1.0.2 =
|
211 |
* updated plugin meta
|
212 |
+
* tested with WP 4.8
|
213 |
|
214 |
= 1.0.1 =
|
215 |
* updated plugin meta
|