How to Embed and Display YouTube Videos on a Secure SSL Page

EDIT 08/03/2010: A reader just pointed out that the method outlined in this post will present a warning in in the status bar when using the latest version of FireFox. No popups or dialog messages though – that’s good. And it still works flawlessly in IE and Chrome. Thanks to Jayapal for pointing the warning in FF.

Original Post:
Here is a cool trick to get rid of ssl security warning errors when embedding youtube videos into secure web pages.

This solution will work if your server is using Apache and has Mod_Rewrite enabled (most Linux web hosting companies do).

First, add this to your .htaccess file: (more…)

Is your WordPress .htaccess file causing problems with other files?

That’s the issue I ran into. I was building a WordPress site, and put a billing/invoicing app in a subdirectory of the site.

Well, the default rewrite lines (that WordPress added to the site’s htaccess file) were causing major issues for the billing script (AWBS). It was also causing problems with Apache password protecting of a directory. The WordPress rewrite would take over before Apache would invoke the username/password entry box.

It was a big mess. I spent a long time pulling my hair out over the situation.