Subdomain redirects to subdirectory [duplicate]
- by redraw
This question already has an answer here:
How do I get the root index page to redirect to a subdirectory without affecting SEO?
1 answer
Supposing I have folder called "support" inside root folder "/public_html". I've added a subdomain in my server's panel so that when going to "support.mydomain.com" it redirects to "mydomain.com/support"
The problem is that redirection is reflected on the browser's address bar, and I want to make that subdomain work like "base domain". i.e "support.mydomain.com/folder-inside-support"
Is it something to be with .htaccess file?