I want to install my new site content on a subdomain like
subdir.example.com
instead of the root domain.
This is a new domain and it has no previous content to redirect. The root URL will be empty and inaccessible to anyone trying to browse the root site example.com
. It will be redirected to subdir.example.com
automatically.
I'm not sure if there's a better SEO way to do it. Will Google find this redirection weird and penalize the site in some way?
.htaccess
?