ts_mpls
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Fixing WordPress
In reply to: Hide sidebar from crawlers?Thanks! At least in K2, it looked like sidebar.php already had a big if wrapper around whole thing, I just added some logic above it. I’m not a PHP guy so the code might be ugly but this seems to be working:
<?php /* TAS - 5/3/10 */ $isBot = strstr($_SERVER['HTTP_USER_AGENT'], 'http://www.google.com/bot.html') || strstr($_SERVER['HTTP_USER_AGENT'], 'http://help.yahoo.com/help/us/ysearch/slurp') || strstr($_SERVER['HTTP_USER_AGENT'], 'http://search.msn.com/msnbot.htm') || strstr($_SERVER['HTTP_USER_AGENT'], 'http://sp.ask.com/docs/about/tech_crawling.html'); ?> <?php if ( ! $isBot && ! get_post_custom_values('hidesidebar1') ): ?>Forum: Fixing WordPress
In reply to: Hide sidebar from crawlers?Anyone?
Forum: Fixing WordPress
In reply to: Text Widget missing from 2.8 installI’m also not seeing a text widget and I just upgraded to 2.8.5. Any update??
Forum: Fixing WordPress
In reply to: WP 2.0 slow on Win2003, cache not working?I’d love to hear an answer to this too. I just upgraded my server to the latest version of PHP5 (i’m running the ISAPI version) and i still see post times on the order of 20-30 seconds!
tim
Viewing 4 replies - 1 through 4 (of 4 total)