Archive for the 'SEO' Category

Wordpress Plugin Execution Order

Sunday, December 31st, 2006

I just spent the last few hours trying to figure out what was wrong with my new Wordpress plugin. My plugin requires another plugin and what was happening was Wordpress was running my plugin first. This was the source of the problem and it took me awhile to figure that out. Then I had to figure out how to force Wordpress to run my plugin first. I tried a code solution but there isn’t any way to tell Wordpress in the code to run one plugin before the other. Then I tried modifying their order in the database but Wordpress kept rewriting the row I would change. So then I thought, alphabetical ordering. I don’t want to have to rename my plugin just because of some stupid limitation of the Wordpress plugin architecture. I noticed that it was running the plugins that had their own subdirectories first and then it would execute plugins that were just single files inside the plugins directory. Bingo. I removed the directory I had put my plugin from and just dumped it right in the plugins directory. Now it works beautifully. It was troubling me because I already had the plugin working on another blog (before I made the subdirectory modification) and was scratching my head why it wasn’t working here. Its all simple in retrospect.

del.icio.us tagger Wordpress plugin

Saturday, December 30th, 2006

I just finished writing a Wordpress plugin called delicious-tagger. It automatically adds a new bookmark to your del.icio.us account using the tags you define with the Ultimate Tag Warrior plugin. This is a pretty slick piece of work that I whipped up and should boost your site’s exposure on del.icio.us considerably. That’s the hope anyway. :)

Google Page Ranking and URL Rewriting

Saturday, December 30th, 2006

I have a sites that Google absolutely hates because I keep changing my URL structure and end up with 404s everywhere. I’ve realized the error in my ways and have attempted to correct the problem by using some url rewriting. The only problem is that I screwed up on the rewrite rules and ended up telling Google to index new pages that weren’t there. They hate me more now. My page ranking is 0. So, to correct the problem I’ve decided to just let the 404s work themselves out naturally. I really don’t like the old url structure I was using anyway and the rewrite rule would create 2 urls that point to the same page which is pointless. I figure that there is nothing to lose to just let it work itself out. It’ll take a while before it is all corrected but I think it’ll eventually be a good decision.