<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Forum closed and Google bot</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 04:43:36 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<div class="highlight"><pre class="php">/* ====================
&#091;BEGIN_SED_EXTPLUGIN&#093;
Code=fclose
Part=header
File=fclose.header
Hooks=header.first
Tags=
Order=10
&#091;END_SED_EXTPLUGIN&#093;
==================== */
if (!defined('SED_CODE')) { die(&quot;Wrong URL.&quot;); }

if ($usr&#091;'id'&#093;==0 || !preg_match('#(google|yahoo|msn)#i', $_SERVER&#091;'HTTP_USER_AGENT'&#093;))
{
  header(&quot;Location: message.php?msg=930&quot;);
}
</pre></div>]]></description>
			<pubDate>Вт, 21 Кві 2009 21:21:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2614&d=0#post11660]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[You hook it to header.first as a plugin or you include it in the core into header.inc.php]]></description>
			<pubDate>Вт, 21 Кві 2009 19:45:53 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2614&d=0#post11656]]></link>
		</item>
		<item>
			<title>MecTruy</title>
			<description><![CDATA[Thanks for the answer  Lombi but How will include a code that ?<br />
<br />
incorrect code , does not work..<br />
<br />
<div class="highlight"><pre class="php">preg_match('#(google|yahoo|msn)#i', $_SERVER&#091;'HTTP_USER_AGENT'&#093;, $bot_ara);
if ($usr&#091;'id'&#093;==0 or !$bot_ara&#091;1&#093;)
{
header(&quot;Location: message.php?msg=930&quot;);
}</pre></div>]]></description>
			<pubDate>Вт, 21 Кві 2009 19:39:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2614&d=0#post11655]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[So you want to block everyone except googlebot? That's called cloaking and might get your site deindexed from google's database.<br />
<br />
But if you still want to do it, i'd suggest just adding one extra logic block into that php file, if the agent contains the word 'googlebot'. That should solve it.]]></description>
			<pubDate>Вт, 21 Кві 2009 19:31:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2614&d=0#post11654]]></link>
		</item>
		<item>
			<title>MecTruy</title>
			<description><![CDATA[I want to closed my forum to All  guess bot also ı want to come all google bots  in my forum So how can ı do this  ???<br />
<br />
Google bot ?<br />
<br />
<br />
<span style="text-decoration:underline">sample code</span><br />
<div class="highlight"><pre class="php">if ($usr&#091;'id'&#093;&lt;1) 
{ 
header(&quot;Location: message.php?msg=930&quot;); 
}</pre></div>]]></description>
			<pubDate>Пт, 17 Кві 2009 16:42:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2614&d=0#post11510]]></link>
		</item>
	</channel>
</rss>