How do I redirect a subdomain to a subfolder?
You can use htaccess to redirect a subdomain to a subfolder using the following example:
RewriteCond %{HTTP_HOST} ^subdomain\.domain\.com
RewriteRule ^(.*)$ http://domain.com/subfolder/$1 [R=301]
How do I redirect a subdomain to a subfolder?
You can use htaccess to redirect a subdomain to a subfolder using the following example:
RewriteCond %{HTTP_HOST} ^subdomain\.domain\.com
RewriteRule ^(.*)$ http://domain.com/subfolder/$1 [R=301]
