About
Contact
Archives

Posts tagged as:

wordpress

for weeks i’ve been going crazy cuz techfresh.net’s auto backup wouldn’t work.  the subdomains were fine, and all my other blogs would backup regularly, just not techfresh.net.

another problem was that techfresh.net’s archive page would never finish loading.  in other words it’s constantly cut off.

http://www.techfresh.net/archives/

and yet another problem, i couldn’t export techfresh.net’s database from phpmyadmin.  it would return a zero sized file.  so i’m left with mysqldump, which is a big hassle.

headache headache headache.

days of headache.

weeks of headache.

worrying.  that.  something.  bad.  would.  happen.  and.  i.  wouldn’t.  have.  backups.  oh God!!

then..  a little epiphany.

php memory_limit

*doh*

how stupid have i been?  techfresh.net’s database is like 45mb and the memory limit was 32mb.  doh doh doh!!

so i increased it to 64mb, restarted plesk and voila!

and the archives are showing fine now too!  :)

hope this little folly will find its way to help somebody else in the future.

tracking changes, post anywhere, turbo speeds and theme previews, what more can you ask? oh and word count, image captions, drag and drop galleries, somebody stop me already!!!

I’m finally caught up with WordPress 2.1.3 but WordPress 2.2 is just around the corner.  Ok maybe I’m not so caught up since I still have a few blogs to upgrade but it feels good to be caught up here at the very least.

There, enough geek talk.

Now as far as work’s concerned I’m still waaaaay behind schedule.  So I guess I’m not caught up at all.

K2 is looking sweet. I’m going to redesign this blog based on K2 and I’m going back to a clean white background. Expect a reboot soon! :D

As you all know WordPress generate its pages with matching titles according to the page contents. It uses the wp_title() tag to accomplish this simple task.

Now in search of a better way to boost our pages for search engine optimization, I decided that the original format that comes with WordPress is a little obsolete:

< ?php bloginfo('name'); ?> < ?php if ( is_single() ) { ?> » Blog Archive < ?php } ?> < ?php wp_title(); ?>

This prints the blog’s name first, then adds the words “Blog Archive” and finally prints the most crucial part of the equation, the post title.

I decided to print the post title first, so that Google would have the keywords in it indexed first, not last. So here’s what I did:

< ?php wp_title(''); ?>< ?php if ( is_home() ) { } else { ?> - < ?php } ?>< ?php bloginfo('name'); ?>

It’s not rocket science but I believe this will help boost your SEO as Google will find your permalinks and WordPress generated pages with its title first instead of your blog name.

PS: This won’t affect your front page as it doesn’t have any post titles on it.