Coding, Wopular | featured news

Pages Not Indexed by Google Because of Autofresh

Pages Not Indexed by Google Because of Autofresh

About a year ago, I decided to add an autorefresh to pages that contain feeds so that content would always stay fresh. I set it to autofresh every 3 minutes. I could have been done this via ajax, but my ajax kung fu wasn’t good enough then (or now). I went with the easiest method, which is a simple meta tag addition to those pages. I got the idea from Drudge Report.

It was fine for about a year until the week of the Panda Update 2.2, when all pages with the autorefresh would give the Googlebot errors and not get indexed.

 

Finally, Got Rid of That Pesky Count Query

Finally, Got Rid of That Pesky Count Query

While updating Wopular, I noticed that from time to time, the site would locked up for a couple minutes. Most of the time, I would just wait it out. I finally looked into the slow query log for mysql and found the troublesome query.

 

Installing APC on Ubuntu 10.4 (Lucid)

I’m working on a new site using Drupal on a LAMP environment. One of the things I want to install is APC - Alternative PHP Cache - for opcode caching. When I did it with Wopular, I’ve noticed the effects immediately. Because the site crashed so often before using APC, I had to have a script to automatically reboot the server, fixed db errors, and reload the site whenever server resources are used up. It works, but sometimes I would end up with a corrupt database and had to spend hours to days fixing it or restoring it from a backup.

 

Integrating Facebook's Like Button & Like Box

I've integrated Facebook's Like Button and Like Box to Wopular's homepage and subpages. I don't think they're effective traffic drivers, but did it just to cover my bases; I think, in general, that's true for most small to medium sized sites. They're pretty easy to integrate.

 

Pressflow, Locked Tables & Hang Time

Pressflow, Locked Tables & Hang Time

I just installed Pressflow and simultaneously updated Drupal late last week. Pressflow is a modified version of Drupal that allows it to scale more easily. For sites with huge traffic and databases, it's essential. It supports database replication, Squid and Varnish reverse-proxy caching, and is optimized for MySQL and PHP 5.

 

FireFox 3.6 Faster, But Now I Have to Fix My CSS

FireFox 3.6 Faster, But Now I Have to Fix My CSS

FireFox 3.6 is officially released today. After 3.5's browser freezing problems which caused me to downgrade to 3.0, I was kinda reluctant to upgrade. I did it anyway, and to my surprise, it was as advertised.

 

Subscribe to this RSS topic: Syndicate content