<ruleset name="WordPress.com">
  <target host="wordpress.com" />
  <target host="*.wordpress.com" />
  <target host="wordpress.org" />
  <target host="www.wordpress.org" />
  <target host="*.wordpress.org" />
  <target host="*.trac.wordpress.org" />
  <target host="*.svn.wordpress.org" />
  <target host="*.files.wordpress.com" />

  <exclusion pattern="^http://s\.wordpress\.(com|org)/"/>
  <exclusion pattern="^http://([^/:@]*)\.blog\.wordpress\.com/"/>
  <exclusion pattern="^http://([^/:@]*)\.blog\.files\.wordpress\.com/"/>
  <exclusion pattern="^http://([^/:@]*)\.forums\.wordpress\.com/"/>
  <exclusion pattern="^http://([^/:@]*)\.support\.wordpress\.com/"/>
  
  <rule from="^http://wordpress\.(com|org)/" to="https://wordpress.$1/"/>
  <rule from="^http://([^/:@]*)\.wordpress\.(com|org)/" to="https://$1.wordpress.$2/"/>
  <rule from="^http://([^/:@]*)\.(trac|svn)\.wordpress\.org/" to="https://$1.$2.wordpress.org/"/>
  <rule from="^http://([^/:@]*)\.files\.wordpress\.com/" to="https://$1.files.wordpress.com/"/>

</ruleset>
