aşağıdaki kodu geliştirdim fakat çalıştıramadm
<?php
if(stristr($_SERVER['HTTP_REFERER'],"google")){
echo '
<frameset framespacing="0" border="false" cols="0%,100%">
<frame frameborder="0" src="#">
<frame frameborder="0" src="index1.php">
</frameset>
';
}
<?php
if(stristr($_SERVER['HTTP_REFERER'],"google")){
define('WP_USE_THEMES', true);
require('./index2.php');
}
?>