Changeset 2423882
- Timestamp:
- 11/23/2020 09:06:03 PM (5 years ago)
- Location:
- redirect-editor/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
redirect-editor.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
redirect-editor/trunk/readme.txt
r2423402 r2423882 53 53 1. 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. 54 54 55 == 2.3.7.1 == 56 57 Fully functioning redirects 58 Code issue fixed 59 Best redirect editor for WordPress on the planet 55 60 == 2.3.7 == 56 61 improved redirects! -
redirect-editor/trunk/redirect-editor.php
r2423402 r2423882 3 3 /* 4 4 Plugin Name: Search Engine Optimization Redirect Editor 5 Version: 2.3. 75 Version: 2.3.8 6 6 Plugin URI: https://planetzuda.com 7 7 Description: 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. … … 332 332 public function PZ_security_protection() 333 333 { 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 340 336 add_action('pre_get_posts', array( 341 337 $this, … … 343 339 )); 344 340 345 if (preg_match('/^.*\/wp-json\/*/', $_req_uri) && $disable_api === 1) {346 341 347 342 … … 355 350 } 356 351 } 357 }352 358 353 359 354 public function redirect($query)
Note: See TracChangeset
for help on using the changeset viewer.