SEO Redirection Plugin - Version 9.3

Version Description

  • Bug fixing permalink function
Download this release

Release Info

Developer osamaesh
Plugin Icon 128x128 SEO Redirection Plugin
Version 9.3
Comparing to
See all releases

Code changes from version 9.2 to 9.3

Files changed (2) hide show
  1. readme.txt +5 -1
  2. seo-redirection.php +7 -12
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.1
6
- Stable tag: 9.2
7
 
8
  SEO Redirection is a powerful redirect manager to manage 301 redirects without requiring knowledge of Apache .htaccess files.
9
 
@@ -75,6 +75,10 @@ Yes, here is the plugin full knowledge base http://www.clogica.com/kb/
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 9.2 =
79
  * Bug fixing in reading htaccess file. reported by (@theschappy)
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.1
6
+ Stable tag: 9.3
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
+ = 9.3 =
79
+ * Bug fixing permalink function
80
+
81
+
82
  = 9.2 =
83
  * Bug fixing in reading htaccess file. reported by (@theschappy)
84
 
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: 9.2
8
  Author URI: https://www.wp-buy.com
9
  Text Domain: seo-redirection
10
  */
@@ -237,18 +237,13 @@ function WPSR_check_default_permalink()
237
  if(is_readable($file))
238
  {
239
  $f = @fopen( $file, 'r+' );
240
- $filestr = @fread($f , filesize($file));
241
- if (strpos($filestr , $marker_name) === false)
242
- {
243
- insert_with_markers( $file, $marker_name, $content );
244
- }
245
  if ($f !== false) {
246
- $filestr = @fread($f , filesize($file));
247
- if (strpos($filestr , $marker_name) === false)
248
- {
249
- insert_with_markers( $file, $marker_name, $content );
250
- }
251
- }
252
  }else{
253
  echo $file.' is not readable!';
254
  }
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: 9.3
8
  Author URI: https://www.wp-buy.com
9
  Text Domain: seo-redirection
10
  */
237
  if(is_readable($file))
238
  {
239
  $f = @fopen( $file, 'r+' );
 
 
 
 
 
240
  if ($f !== false) {
241
+ $filestr = @fread($f , filesize($file));
242
+ if (strpos($filestr , $marker_name) === false)
243
+ {
244
+ insert_with_markers( $file, $marker_name, $content );
245
+ }
246
+ }
247
  }else{
248
  echo $file.' is not readable!';
249
  }