Version Description
- IBug fixing in reading htaccess file
Download this release
Release Info
Developer | osamaesh |
Plugin | SEO Redirection Plugin |
Version | 8.9 |
Comparing to | |
See all releases |
Code changes from version 8.8 to 8.9
- readme.txt +4 -1
- seo-redirection.php +14 -8
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wp-buy, osama.esh
|
|
3 |
Tags: post, admin, seo, pages, manage, 301, 404, soft 404, redirect, permalink, redirection, redirection, https, automatic redirection, htaccess, ssl, https redirection, ssl certificate, secure page, secure, force ssl, force https, seo redirection, post redirect, 404 to 301
|
4 |
Requires at least: 4.1
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 8.
|
7 |
|
8 |
SEO Redirection is a powerful redirect manager to manage 301 redirects without requiring knowledge of Apache .htaccess files.
|
9 |
|
@@ -75,6 +75,9 @@ Yes, here is the plugin full knowledge base http://www.clogica.com/kb/
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 8.8 =
|
79 |
* Important security fixes.
|
80 |
|
3 |
Tags: post, admin, seo, pages, manage, 301, 404, soft 404, redirect, permalink, redirection, redirection, https, automatic redirection, htaccess, ssl, https redirection, ssl certificate, secure page, secure, force ssl, force https, seo redirection, post redirect, 404 to 301
|
4 |
Requires at least: 4.1
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 8.9
|
7 |
|
8 |
SEO Redirection is a powerful redirect manager to manage 301 redirects without requiring knowledge of Apache .htaccess files.
|
9 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 8.9 =
|
79 |
+
* IBug fixing in reading htaccess file
|
80 |
+
|
81 |
= 8.8 =
|
82 |
* Important security fixes.
|
83 |
|
seo-redirection.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: SEO Redirection
|
|
4 |
Plugin URI: https://www.wp-buy.com/product/seo-redirection-premium-wordpress-plugin/
|
5 |
Description: By this plugin you can manage all your website redirection types easily.
|
6 |
Author: wp-buy
|
7 |
-
Version: 8.
|
8 |
Author URI: https://www.wp-buy.com
|
9 |
Text Domain: seo-redirection
|
10 |
*/
|
@@ -233,13 +233,19 @@ function WPSR_check_default_permalink()
|
|
233 |
$marker_name="FRedirect_ErrorDocument";
|
234 |
$filestr ="";
|
235 |
|
236 |
-
if(file_exists($file)){
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
}else
|
244 |
{
|
245 |
insert_with_markers( $file, $marker_name, $content );
|
4 |
Plugin URI: https://www.wp-buy.com/product/seo-redirection-premium-wordpress-plugin/
|
5 |
Description: By this plugin you can manage all your website redirection types easily.
|
6 |
Author: wp-buy
|
7 |
+
Version: 8.9
|
8 |
Author URI: https://www.wp-buy.com
|
9 |
Text Domain: seo-redirection
|
10 |
*/
|
233 |
$marker_name="FRedirect_ErrorDocument";
|
234 |
$filestr ="";
|
235 |
|
236 |
+
if(file_exists($file)){
|
237 |
+
|
238 |
+
if(is_readable($file))
|
239 |
+
{
|
240 |
+
$f = @fopen( $file, 'r+' );
|
241 |
+
$filestr = @fread($f , filesize($file));
|
242 |
+
if (strpos($filestr , $marker_name) === false)
|
243 |
+
{
|
244 |
+
insert_with_markers( $file, $marker_name, $content );
|
245 |
+
}
|
246 |
+
}else{
|
247 |
+
echo $file.' is not readable!';
|
248 |
+
}
|
249 |
}else
|
250 |
{
|
251 |
insert_with_markers( $file, $marker_name, $content );
|