A Side Note On WordPress, SEO, sitemap.xml and robots.txt

Last week, I learned that WordPress doesn’t ship with a default robots.txt.

  • this is the default file that search engine crawlers parse to see what resources and URL patterns that it allowed and not allowed to crawl; it’s step 1 in every search engine optimization (SEO) guide.

I guess I just stupidly assumed that it was included in WP. Anyways, I thought it to be fair to tell everyone that if you are using WordPress and you care how your site shows up in search results, you should generate a robots.txt and a sitemap.xml.
Continue reading

New WordPress Plugin: TinyMCE Valid Elements

We wrote a new WordPress plugin and created a page for it:

TinyMCE Valid Elements

By default, WordPress’ WYSIWYG editor, TinyMCE, will strip out of your Article and Page HTML code any elements that are not defined as “valid elements”; this can be extremely annoying (especially if you want to include iframes).

This plugin will allow you to extend what TinyMCE defines as “valid elements”. By doing so, TinyMCE will no longer remove, delete, or strip-out the additional elements and attributes that you specify.

Check it out!

Has Anyone Else Had Trouble With Logging Into Gmail With Firefox?

I’ve noticed this past week that when I start Firefox, Gmail remembers the last person that was logged in (me); this of course is an expected thing to see. The problem is that when I click to “Login” to my Google accounts, I get put inside this infinite loop state.

I just get redirected to the login page again and again; even if I click “Log in as a different user”.

I have to manually clear my cookies before it will allow me to enter my email address (username); then it will work ok.

[poll id="11"]

It’s just been a recent problem (the past few days), so I was wondering if anyone else has seen this?

UPDATE: 2008-11-10: FIX: I reinstalled Firefox and made sure to select the option to remove my personal files on uninstall. This seemed to have fixed the problem. I really didn’t care what was the problem; I just wanted it fixed.

How To Make Smarty the Default View for Your Zend Action Controllers

There are many articles and enough documentation out there on how to include the Smarty PHP templating engine into your Zend Framework action controllers; however, there was no solution out there describing how to truly incorporate Smarty as the default view renderer, so I decided to figure it out and show you how.no

Continue reading

How To Allow Stripped Element Attributes in WordPress’ TinyMCE Editor

The proper way to correct any attributes that TinyMCE strips off of your WordPress posts/pages’ elements is to use the tiny_mce_before_init filter hook. Unfortunately, WordPress doesn’t document this very well, so I will.

UPDATE: 2008-11-06: I have made a WordPress plugin that does this for you!

» TinyMCE Valid Elements
Continue reading

On Web Usability: Mouse Cursors and Actionable Page Elements

Whether we realize it or not, the displayed cursor image tells us about the area of the screen below our mouse cursor; it tells us whether or not we need to click, drag, move, resize, or even wait.  Now, I know that we all know this, but I believe that sometimes as developers (especially web developers) we forget that not all items in an application have the correct default cursor for the action that is assigned for that item. Continue reading