All 404 Redirect to Homepage - Version 3.3

Version Description

  • Addin hint to download our "Broken Images Redirection" Plugin
Download this release

Release Info

Developer osamaesh
Plugin Icon 128x128 All 404 Redirect to Homepage
Version 3.3
Comparing to
See all releases

Code changes from version 3.2 to 3.3

all-404-redirect-to-homepage.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: All 404 Redirect to Homepage
4
  Plugin URI: https://www.wp-buy.com
5
  Description: a plugin to redirect 404 pages to home page or any custom page
6
  Author: wp-buy
7
- Version: 3.2
8
  Author URI: https://www.wp-buy.com
9
  */
10
  register_activation_hook( __FILE__, 'p404_modify_htaccess' );
@@ -24,6 +24,7 @@ add_action('wp_ajax_P404REDIRECT_HideMsg', 'P404REDIRECT_HideMsg');
24
 
25
  function P404REDIRECT__filter_action_links( $links ) {
26
  $links['settings'] = sprintf('<a href="%s">Settings</a>', admin_url( 'admin.php?page=all-404-redirect-to-homepage.php' ));
 
27
  return $links;
28
  }
29
  add_filter( 'plugin_action_links_'.plugin_basename(__FILE__), 'P404REDIRECT__filter_action_links', 10, 1 );
4
  Plugin URI: https://www.wp-buy.com
5
  Description: a plugin to redirect 404 pages to home page or any custom page
6
  Author: wp-buy
7
+ Version: 3.3
8
  Author URI: https://www.wp-buy.com
9
  */
10
  register_activation_hook( __FILE__, 'p404_modify_htaccess' );
24
 
25
  function P404REDIRECT__filter_action_links( $links ) {
26
  $links['settings'] = sprintf('<a href="%s">Settings</a>', admin_url( 'admin.php?page=all-404-redirect-to-homepage.php' ));
27
+ $links['MorePlugins'] = sprintf('<a href="%s"><b style="color:#f18500">More Plugins</b></a>', admin_url( 'plugin-install.php?s=wp-buy&tab=search&type=author' ));
28
  return $links;
29
  }
30
  add_filter( 'plugin_action_links_'.plugin_basename(__FILE__), 'P404REDIRECT__filter_action_links', 10, 1 );
option_page.php CHANGED
@@ -152,6 +152,7 @@ if($mytab == "options"){
152
  }
153
  $drop->select($image_status_val);
154
  ?>
 
155
 
156
  <br/><br/>
157
 
152
  }
153
  $drop->select($image_status_val);
154
  ?>
155
+ <b>Try our <a style="color:red" href="https://wordpress.org/plugins/broken-images-redirection" target="_blank">Broken Images Redirection</a> Plugin for more options</b>
156
 
157
  <br/><br/>
158
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wp-buy, osama.esh
3
  Tags: 404 error, redirection, homepage, broken images, redirection, https, automatic redirection, 404 link,redirect, soft 404, redirected, 301 seo redirect, post redirect plugin, broken links, fix 404
4
  Requires at least: 3.5
5
- Tested up to: 5.8.1
6
- Stable tag: 3.2
7
 
8
  By using this smart plugin, you can fix all 404 error links by redirecting them to homepage using the SEO 301 redirection. Improve your visibility in search engines now..
9
 
@@ -34,6 +34,10 @@ Extract the zip file and just drop the contents in the wp-content/plugins/ direc
34
 
35
  == Changelog ==
36
 
 
 
 
 
37
  = 3.2 =
38
  * Bug fixes in function prefix
39
 
2
  Contributors: wp-buy, osama.esh
3
  Tags: 404 error, redirection, homepage, broken images, redirection, https, automatic redirection, 404 link,redirect, soft 404, redirected, 301 seo redirect, post redirect plugin, broken links, fix 404
4
  Requires at least: 3.5
5
+ Tested up to: 5.8.2
6
+ Stable tag: 3.3
7
 
8
  By using this smart plugin, you can fix all 404 error links by redirecting them to homepage using the SEO 301 redirection. Improve your visibility in search engines now..
9
 
34
 
35
  == Changelog ==
36
 
37
+ = 3.3 =
38
+ * Addin hint to download our "Broken Images Redirection" Plugin
39
+
40
+
41
  = 3.2 =
42
  * Bug fixes in function prefix
43