📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 02:00:02
📂
/ (Root)
/
home
/
xeqi7597
/
cds.claireduwig.com
/
wp-content
/
plugins
/
redirection
/
matches
📍 /home/xeqi7597/cds.claireduwig.com/wp-content/plugins/redirection/matches
🔄 Refresh
✏️
Editing: url.php
Writable
<?php /** * Match the URL only. */ class URL_Match extends Red_Match { /** * URL * * @var String */ public $url = ''; public function name() { return __( 'URL only', 'redirection' ); } public function save( array $details, $no_target_url = false ) { $data = isset( $details['url'] ) ? $details['url'] : ''; if ( strlen( $data ) === 0 ) { $data = '/'; } if ( $no_target_url ) { return null; } return $this->sanitize_url( $data ); } public function is_match( $url ) { return true; } public function get_target_url( $original_url, $matched_url, Red_Source_Flags $flag, $is_matched ) { $target = $this->url; if ( $flag->is_regex() ) { $target = $this->get_target_regex_url( $matched_url, $target, $original_url, $flag ); } return $target; } public function get_data() { if ( $this->url ) { return [ 'url' => $this->url, ]; } return null; } public function load( $values ) { $this->url = $values; } }
💾 Save Changes
❌ Cancel