Is it possible to use .htaccess to rewrite a sub domain to a directory?
Example:
shows the content of
Redirect subdomain directory:
RewriteCond %{HTTP_HOST} ^([^.]+)\.(archive\.example\.com)$ [NC] RewriteRule ^ http://%2/%1%{REQUEST_URI} [L,R=301]