You can use the following snippet to avoid having duplicate listings in the search engines or when your site showing security errors on your browser
Options +FollowSymlinks RewriteEngine on RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]