| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sun Jan 21, 2007 8:41 am Post subject: problem with session |
|
|
now i installed cyber alien mod for session from 10 days ago
but when i checked my links see google take it with session
http://www.paramegsoft.com/forum/index.php?mode=spiders
google take here my old links but i am using simple mod rewrite
second problem google not take any new liks to my forum
&i have sitemaps and google bot hits my site alot
does i have any problem?
i need yours idea |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sun Jan 21, 2007 11:20 am Post subject: Re: problem with session |
|
|
| Code: | function append_sid($url, $non_html_amp = false)
{
global $SID;
if ( !empty($SID) && !preg_match('#sid=#', $url) )
{
$url .= ( ( strpos($url, '?') != false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID;
}
return $url;
} |
replace with
| Code: | function append_sid($url, $non_html_amp = false)
{
global $SID;
if ( !empty($SID) && !preg_match('#sid=#', $url) && !strstr($_SERVER['HTTP_USER_AGENT'] ,'Googlebot') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'msnbot') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'Slurp') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'almaden.ibm.com') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'zyborg') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'Jeeves') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'crawler') && !strstr($_SERVER['HTTP_USER_AGENT'] ,'spider') )
{
$url .= ( ( strpos($url, '?') != false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID;
}
return $url;
} |
can i use this mod and un install Guest Sessions MOD for cyber aliean
and how i can use this with phpBB-SEO-Simple-mod-Rewrite_V_0.0.2 |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sun Jan 21, 2007 12:30 pm Post subject: Re: problem with session |
|
|
| dcz wrote: | Cyber aliens method is better
It will take car of all guest thus all bots.
I PM ed you  |
ok dcz i will try again
thank u man |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |