📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 01:16:21
📂
/ (Root)
/
home
/
apkbfjox
/
b9-game.xyz
/
wp-content
/
plugins
/
seo-by-rank-math
/
includes
/
frontend
/
paper
📍 /home/apkbfjox/b9-game.xyz/wp-content/plugins/seo-by-rank-math/includes/frontend/paper
🔄 Refresh
✏️
Editing: class-search.php
Writable
<?php /** * The Search Results paper. * * @since 1.0.22 * @package RankMath * @subpackage RankMath\Paper * @author Rank Math <support@rankmath.com> */ namespace RankMath\Paper; use RankMath\Helper; defined( 'ABSPATH' ) || exit; /** * Search results. */ class Search implements IPaper { /** * Retrieves the SEO title. * * @return string */ public function title() { return Paper::get_from_options( 'search_title', [], 'Searched for %search_query% %page% %sep% %sitename%' ); } /** * Retrieves the SEO description. * * @return string */ public function description() { return ''; } /** * Retrieves the robots. * * @return string */ public function robots() { return Helper::get_settings( 'titles.noindex_search' ) ? [ 'index' => 'noindex' ] : []; } /** * Retrieves the advanced robots. * * @return array */ public function advanced_robots() { return []; } /** * Retrieves the canonical URL. * * @return array */ public function canonical() { $search_query = get_search_query(); return [ 'canonical' => ! empty( $search_query ) && ! preg_match( '|^page/\d+$|', $search_query ) ? get_search_link() : '' ]; } /** * Retrieves meta keywords. * * @return string */ public function keywords() { return ''; } }
💾 Save Changes
❌ Cancel