1. RewriteEngine On
  2. RewriteCond %{HTTP_HOST} !^(www\.)?titancontent.com$ [NC]
  3. RewriteCond %{HTTP_HOST} ^([^.]+)\.titancontent.com$ [NC]
  4. RewriteCond %{REQUEST_URI} !index.php
  5. RewriteRule ^ /index.php?url=%1 [L]