I removed session IDs for Google and Slurp so that they can index every thread on the forum.
Go to includes/sessions.php and find
global $SID;if ( !empty($SID) && !eregi('sid=', $url) )
Replace with
global $SID, $HTTP_SERVER_VARS; if ( !empty($SID) && !eregi('sid=', $url) && !strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'Googlebot') && !strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'slurp@inktomi.com;'))
So it should look like this:
function append_sid($url, $non_html_amp = false)
{
global $SID, $HTTP_SERVER_VARS;if ( !empty($SID) && !eregi('sid=', $url) && !strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'Googlebot') && !strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'slurp@inktomi.com;'))
{
$url .= ( ( strpos($url, '?') != false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID;
}return $url;
I'm testing all my changes by comparing the modified www.learn-english-grammar.com to the unmodified www.learn-english-vocabulary.com. This one works. 53 grammar pages are indexed by Google and only 4 vocabulary pages (the ones with direct links to them from external sites).
Posted by James Trotta at July 27, 2004 2:21 AMIf your hosting provider supports mod_rewrite, it's even better to install a phpBB hack to make all urls looks like static html page
Posted by: Vocabulary at August 10, 2004 6:42 AMSo you've switched your handle from KL to Vocabulary - it should help. I'm not much of a coder, so I'm taking baby steps here. Also I here that static URLs are no big deal, and Google seems to have no problems following my php URLs.
Posted by: James Trotta at August 15, 2004 9:31 PMTrade links with seo-search-engine-ranking.com
http://www.seo-search-engine-ranking.com/ad_network_222.php