Version Description
- Bug Fixes - Escaping URLs
Download this release
Release Info
Developer | osamaesh |
Plugin | All 404 Redirect to Homepage |
Version | 2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2 to 2.3
- all-404-redirect-to-homepage.php +1 -1
- functions.php +1 -1
- images/seopro.png +0 -0
- option_page.php +7 -2
- readme.txt +5 -1
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: 2.
|
8 |
Author URI: https://www.wp-buy.com
|
9 |
*/
|
10 |
|
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: 2.3
|
8 |
Author URI: https://www.wp-buy.com
|
9 |
*/
|
10 |
|
functions.php
CHANGED
@@ -12,7 +12,7 @@ function P404REDIRECT_after_plugin_row($plugin_file, $plugin_data, $status)
|
|
12 |
$class_name = $plugin_data['TextDomain']; // $plugin_data is an array retrived by default when you action this function after_plugin_row
|
13 |
|
14 |
echo '<tr id="' .esc_attr($class_name). '-plugin-update-tr" class="plugin-update-tr active">';
|
15 |
-
echo '<td colspan="
|
16 |
echo '<div id="' .esc_attr($class_name). '-upgradeMsg" class="update-message" style="background:#FFF8E5; padding-left:10px; border-left:#FFB900 solid 4px" >';
|
17 |
|
18 |
echo '<span style="color:red">Have many broken links?</span>.<br />keep track of 404 errors using our powerfull <a target="_blank" href="https://www.wp-buy.com/product/seo-redirection-premium-wordpress-plugin/">SEO Redirection Plugin</a> to show and fix all broken links & 404 errors that occur on your site. or ';
|
12 |
$class_name = $plugin_data['TextDomain']; // $plugin_data is an array retrived by default when you action this function after_plugin_row
|
13 |
|
14 |
echo '<tr id="' .esc_attr($class_name). '-plugin-update-tr" class="plugin-update-tr active">';
|
15 |
+
echo '<td colspan="6" class="plugin-update">';
|
16 |
echo '<div id="' .esc_attr($class_name). '-upgradeMsg" class="update-message" style="background:#FFF8E5; padding-left:10px; border-left:#FFB900 solid 4px" >';
|
17 |
|
18 |
echo '<span style="color:red">Have many broken links?</span>.<br />keep track of 404 errors using our powerfull <a target="_blank" href="https://www.wp-buy.com/product/seo-redirection-premium-wordpress-plugin/">SEO Redirection Plugin</a> to show and fix all broken links & 404 errors that occur on your site. or ';
|
images/seopro.png
ADDED
Binary file
|
option_page.php
CHANGED
@@ -89,7 +89,8 @@ if($tab == "options"){
|
|
89 |
<div>
|
90 |
|
91 |
<hr/>
|
92 |
-
|
|
|
93 |
<hr/>
|
94 |
<b>Latest 20 URLs Redirected: </b><br/><br/>
|
95 |
|
@@ -131,5 +132,9 @@ if(count($links)==0){
|
|
131 |
// ---- End of Tabs ----------------
|
132 |
?>
|
133 |
<br/>
|
134 |
-
|
|
|
|
|
|
|
|
|
135 |
</div></div></div>
|
89 |
<div>
|
90 |
|
91 |
<hr/>
|
92 |
+
|
93 |
+
<b style="color:red"><?php echo esc_html(P404REDIRECT_read_option_value('links',0));?></b> URLs redirected since the plugin install in <?php echo esc_attr(P404REDIRECT_read_option_value('install_date',date("Y-m-d h:i a")));?>
|
94 |
<hr/>
|
95 |
<b>Latest 20 URLs Redirected: </b><br/><br/>
|
96 |
|
132 |
// ---- End of Tabs ----------------
|
133 |
?>
|
134 |
<br/>
|
135 |
+
<hr />
|
136 |
+
<b style="color:red">Have many broken links?</b> keep track of 404 errors using our powerfull <a target="_blank" href="https://www.wp-buy.com/product/seo-redirection-premium-wordpress-plugin/#404plugin_msg">SEO Redirection Plugin</a> with an advanced <b>404 Manager</b> and set many rules to handle 404 links
|
137 |
+
<p>
|
138 |
+
<a href="https://www.wp-buy.com/product/seo-redirection-premium-wordpress-plugin/#404plugin_img" target="_blank"><img src="<?php echo esc_url(plugin_dir_url(__FILE__));?>/images/seopro.png" /></a>
|
139 |
+
</p>
|
140 |
</div></div></div>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wp-buy, osama.esh
|
|
3 |
Tags: 404 error, redirection, homepage, 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
|
6 |
-
Stable tag: 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 |
= 2.2 =
|
38 |
* Bug Fixes - sanitizing part 2
|
39 |
|
3 |
Tags: 404 error, redirection, homepage, 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
|
6 |
+
Stable tag: 2.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 |
+
= 2.3 =
|
38 |
+
* Bug Fixes - Escaping URLs
|
39 |
+
|
40 |
+
|
41 |
= 2.2 =
|
42 |
* Bug Fixes - sanitizing part 2
|
43 |
|