Plugin Directory

Changeset 2423882


Ignore:
Timestamp:
11/23/2020 09:06:03 PM (5 years ago)
Author:
zuda
Message:

Super improved redirect editor making sure everything works perfectly without a hiccup.

Location:
redirect-editor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • redirect-editor/trunk/readme.txt

    r2423402 r2423882  
    53531. Redirect editor is easy to use, you just type in the page you want redirected as shown in the example and then put the link to where we are redirecting to. It is the simplest redirect tool for seo and gives an accurate 301 response for WP. The other features help secure your site and currently happen in the background without any interaction, besides activating the plugin.
    5454
     55== 2.3.7.1 ==
     56
     57Fully functioning redirects
     58Code issue fixed
     59Best redirect editor for WordPress on the planet
    5560== 2.3.7 ==
    5661improved redirects!
  • redirect-editor/trunk/redirect-editor.php

    r2423402 r2423882  
    33/*
    44Plugin Name: Search Engine Optimization Redirect Editor
    5 Version: 2.3.7
     5Version: 2.3.8
    66Plugin URI: https://planetzuda.com
    77Description: If you need to redirect whether for search engine optimization purposes or otherwise you can use our app to  redirect to any page. We provide a direct link to your xml sitemap which you can submit to search engines manually.  We  protect you against popular SEO plugins that damage your rankings by making your sitemap invisible to Google's bots by telling them to not index it, which is a free and automatically applied feature. More search features are coming. Our redirect editor is extremely useful and highly secure, which has been tested in bug bounties by white hat hackers, including our security and seo company.
     
    332332    public function PZ_security_protection()
    333333    {
    334         $disable_api = $this->get_setting('disable_api');
    335         $_req_uri = esc_url($_SERVER["REQUEST_URI"]);
    336 
    337       if(isset($disable_api)){
    338       $disable_api=  intval($disable_api);
    339       }
     334   
     335     
    340336  add_action('pre_get_posts', array(
    341337            $this,
     
    343339        ));
    344340
    345       if (preg_match('/^.*\/wp-json\/*/', $_req_uri) && $disable_api === 1) {
    346341
    347342     
     
    355350        }
    356351}
    357   }
     352 
    358353
    359354     public function redirect($query)
Note: See TracChangeset for help on using the changeset viewer.