Quote:
|
Originally Posted by ByteFortressAaron
If the subdomain is setup correctly you shouldn't need to forward it to /topsites as it would already be a subdirectory configured. Cpanel offers options for both topsites.yourdomain.com and yourdomain.com/topsites all within the subdomain feature.
|
the subdomain is an addon domain ( forum.mydomain.com) --> /public_html/forum
I tried to remove redirection but it wouldn't work. topsites folder is in public_html/
forum/topsites if I type topsites.mydomain.com it goes to /public_html/topsites/ which is a blank page.
here is the .htaccess inside /public_html/topsites/
RewriteEngine on
RewriteCond %{HTTP_HOST} ^topsites.mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.topsites.mydomain.com$
RewriteRule ^(.*)$ http://www.mydomain.com/topsites/$1 [R=301,L]